• Resolved jschauer

    (@jschauer)


    The Donation Thermometer settings does not show any of the settings I enter when I save changes. The changes are reflected in the thermometer and the shortcodes, but each time I want to just update the value from the settings, I have to re-enter all parameters such as fill hex code and target. I want to just be able to change the raised value to update the thermometer.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author rhewlif

    (@henryp)

    Sorry to hear you are having trouble. I cannot reproduce the behaviour you’re describing, so perhaps you could try deleting and reinstalling the plugin so that the settings in the database are reinitialised? Presumably the preview thermometer on the settings page does not show correctly when settings are saved?

    You can also update the target value from the wordpress dashboard – there is also a short form here for editing just the global raised and target values.

    Thread Starter jschauer

    (@jschauer)

    Thanks for the quick reply. I did try deleting and reinstalling the png-in, but I get the same results.

    As soon as I update values in settings, I get a settings are saved notice, and the preview and thermometer display correctly. The setting fields all revert to blank values. If I just edit the raised and target values, all colors revert to black and other values to default on next save.

    On the dashboard front page, the raised and target values are displayed, but I have to link to the settings page to edit them.

    I’ve been able to set the fill value in the shortcode, but would like the [therm_r], [therm_t] and [therm_%] values to reflect current raised, target and % values with minimum effort to update.

    Plugin Author rhewlif

    (@henryp)

    On the dashboard front page, the raised and target values are displayed, but I have to link to the settings page to edit them.

    Can you click the configure link in the widget titlebar to bring up the short form for raised and target values on the dashboard? Percentage gets calculated automatically.

    As soon as I update values in settings, I get a settings are saved notice, and the preview and thermometer display correctly. The setting fields all revert to blank values. If I just edit the raised and target values, all colors revert to black and other values to default on next save.

    It sounds like settings do get saved correctly but that the settings page cannot read them back in fro the database. I have not seen this before, so it may be conflicting with another plugin. I will have a look, but it may also be useful if you could look for error messages using the Query Monitor plugin.

    Thread Starter jschauer

    (@jschauer)

    Can you click the configure link in the widget titlebar to bring up the short form for raised and target values on the dashboard? Percentage gets calculated automatically.

    I didn’t see the configure link before. It only appears when I mouse over the widget bar. This does work. Thanks.

    It sounds like settings do get saved correctly but that the settings page cannot read them back in fro the database. I have not seen this before, so it may be conflicting with another plugin. I will have a look, but it may also be useful if you could look for error messages using the Query Monitor plugin.

    I installed Query Monitor. Got 44 php errors that were all Undefined index notices from wp-content/plugins/donation-thermometer/includes/therm_settings.php

    I checked, and the pHp interpreter is 7.033. I have requested that it be updated to v 7.2 or higher. I suspect this may be the cause. Thanks for your assistance in troubleshooting!

    Plugin Author rhewlif

    (@henryp)

    Can you post some of the php errors with line number? Are you on the latest plugin version? I suspect it is the options array that is not getting brought in correctly. It should be a straightforward fix.

    Do edits to the custom CSS get saved/reappear correctly on the settings page?

    Thanks

    Thread Starter jschauer

    (@jschauer)

    I have current version 2.05 installed.

    Changes to Custom CSS are applied as expected and saved to the CSS fields. The main settings page fields remain blank.

    Still waiting for our hosting account manager to update the pHp interpreter from 7.033 to 7.2 or higher.

    Appreciate the continued support. Just sent you a donation.

    Here are PHP errors:

    Notice Undefined index: target_string 1 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:286
    Plugin: donation-thermometer
    Notice Undefined index: raised_string 1 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:292
    Plugin: donation-thermometer
    Notice Undefined index: colour_picker1 1 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:138
    Plugin: donation-thermometer
    Notice Undefined index: chkbox1 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:199
    Plugin: donation-thermometer
    Notice Undefined index: chkbox1 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:200
    Plugin: donation-thermometer
    Notice Undefined index: chkbox1 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:201
    Plugin: donation-thermometer
    Notice Undefined index: colour_picker2 1 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:209
    Plugin: donation-thermometer
    Notice Undefined index: chkbox2 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:218
    Plugin: donation-thermometer
    Notice Undefined index: chkbox2 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:219
    Plugin: donation-thermometer
    Notice Undefined index: chkbox2 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:220
    Plugin: donation-thermometer
    Notice Undefined index: colour_picker3 1 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:264
    Plugin: donation-thermometer
    Notice Undefined index: targetlabels 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:232
    Plugin: donation-thermometer
    Notice Undefined index: targetlabels 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:233
    Plugin: donation-thermometer
    Notice Undefined index: targetlabels 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:234
    Plugin: donation-thermometer
    Notice Undefined index: colour_picker5 1 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:244
    Plugin: donation-thermometer
    Notice Undefined index: chkbox3 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:254
    Plugin: donation-thermometer
    Notice Undefined index: chkbox3 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:255
    Plugin: donation-thermometer
    Notice Undefined index: chkbox3 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:256
    Plugin: donation-thermometer
    Notice Undefined index: colour_picker4 1 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:270
    Plugin: donation-thermometer
    Notice Undefined index: currency 1 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:146
    Plugin: donation-thermometer
    Notice Undefined index: trailing 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:183
    Plugin: donation-thermometer
    Notice Undefined index: trailing 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:184
    Plugin: donation-thermometer
    Notice Undefined index: trailing 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:185
    Plugin: donation-thermometer
    Notice Undefined index: trailing 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:186
    Plugin: donation-thermometer
    Notice Undefined index: thousands 1 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:152
    Plugin: donation-thermometer
    Notice Undefined index: color_ramp 1 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:276
    Plugin: donation-thermometer
    Notice Undefined index: tick_align 2 +
    wp-content/plugins/donation-thermometer/includes/therm_settings.php:170
    Plugin: donation-thermometer

    Plugin Author rhewlif

    (@henryp)

    Try updating the plugin now to see if your settings page works. It hopefully sorts the problem out.
    Thanks for the donation too ??

    Thread Starter jschauer

    (@jschauer)

    pHp Version 7.3 didn’t fix it.

    Updating plug-in to version 2.06 solved the issue!

    Values for all fields now display correctly in settings, and changes are reflected accurately.

    Thanks for all your help.

    John

    Thread Starter jschauer

    (@jschauer)

    Issue resolved!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Settings page not saving values’ is closed to new replies.