• Resolved srdelamar

    (@srdelamar)


    Since a while now, i can’t change any settings for this plugin of my forum…

    I get a white screen with the following error:
    atal error: uncaught error: call to undefined function add_settings_error() in /home/onlin691/public_html/wp-content/plugins/bbpress-notify-nospam/includes/controller/admin_notices.class.php:94 stack trace: #0 /home/onlin691/public_html/wp-content/plugins/bbpress-notify-nospam/includes/controller/admin_notices.class.php(72): bbpress_notify_nospam_controller_admin_notices->_set_msg(‘bbpnns_v2_conve…’) #1 /home/onlin691/public_html/wp-content/plugins/bbpress-notify-nospam/bbpress-notify-nospam.php(99): bbpress_notify_nospam_controller_admin_notices->set_notice(‘bbpnns_v2_conve…’) #2 /home/onlin691/public_html/wp-includes/class-wp-hook.php(286): bbpress_notify_nospam->init(”) #3 /home/onlin691/public_html/wp-includes/class-wp-hook.php(310): wp_hook->apply_filters(null, array) #4 /home/onlin691/public_html/wp-includes/plugin.php(453): wp_hook->do_action(array) #5 /home/onlin691/public_html/wp-settings.php(467): do_action(‘init’) #6 /home/onlin691/public_html/wp-config.php(77): require_once(‘/home/onlin691/…’) #7 /home in /home/onlin691/public_html/wp-content/plugins/bbpress-notify-nospam/includes/controller/admin_notices.class.php on line 94

    When i delete the plugin, i can change settings again… Can someone please tell me what i’m doing wrong?

Viewing 13 replies - 1 through 13 (of 13 total)
  • Plugin Author useStrict

    (@usestrict)

    Hi @srdelamar,

    What version of the plugin are you using?

    There was a bug in 2.0 that caused the error you’re getting, but it was fixed soon after that and should not be happening in the current 2.1.x version.

    Thread Starter srdelamar

    (@srdelamar)

    I de-installed and installed again today… So shouldn’t it be fixed then?

    Plugin Author useStrict

    (@usestrict)

    If you’re installing from the Admin > Install New plugin and not simply uploading the zip file, then yes, it should be fixed.

    Please provide the version of WordPress you’re using as I need to replicate the issue locally in order to investigate further.

    Cheers,
    Vinny

    Thread Starter srdelamar

    (@srdelamar)

    Hi Viny,

    I use version (5.0.3) of wordpress and 2.1.1 of your plugin. Re-installed just now for the 2nd time, cleared cache etc, but still getting the fatal error…

    Plugin Author useStrict

    (@usestrict)

    OK, I was able to replicate the error. This is happening because you’re trying to save settings without having converted the data from 1.0 to 2.0. Please be sure to back up your database and click the Run Update button before trying to make any settings changes.

    • This reply was modified 5 years, 10 months ago by useStrict.
    Thread Starter srdelamar

    (@srdelamar)

    Happy you found the solution, but can you please give me a little bit more info
    about where and how i should do this? ?? I’m afraid i’m not that smart…

    Plugin Author useStrict

    (@usestrict)

    When you install the latest plugin, you’ll see a notice at the top of the screen that looks like this:

    https://www.dropbox.com/s/21uhwmhclpg41fa/Screenshot%202019-01-14%2009.27.10.png?dl=0

    You need to click the blue Run Update button to convert the settings from 1.0 to 2.0 like it says. Once that’s done, the warning will change to this:

    https://www.dropbox.com/s/r89cmbgcssf2i7c/Screenshot%202019-01-14%2009.28.26.png?dl=0

    As you’re on the Settings screen already, you should refresh the page to get the settings fields populated correctly (ideally, you run the update as soon as it shows up before going to the settings screen).

    Cheers,
    Vinny

    Thread Starter srdelamar

    (@srdelamar)

    I’m really sorry to say this, but i don’t have that notice…

    Plugin Author useStrict

    (@usestrict)

    That’s weird!

    OK, can you create a temporary admin account for me so I can take a look at your site? You can use the email vinny [at] usestrict [dot] net.

    Plugin Author useStrict

    (@usestrict)

    The problem is with the plugin styles-and-layouts-for-gravity-forms. It is not letting WordPress display any header warnings. You should deactivate it, run the updater, then activate it again and contact the author as to why they’re blocking WP warnings. Even plugins other than my own are having their warnings suppressed.

    Cheers,
    Vinny

    Thread Starter srdelamar

    (@srdelamar)

    Thank you so much for all your help Vinny, You’ re the best! Everything works correctly now ??

    Plugin Author useStrict

    (@usestrict)

    My pleasure!

    Plugin Author useStrict

    (@usestrict)

    I’ve been made aware of another case where the Update Required notice was not being displayed. The plugin above was not installed, and we didn’t bother trying to find the one that was causing the problem.

    Instead I released a force upgrade option in version 2.1.3. To trigger it, back up your database, log into your WP Admin and use the following query string:

    ?bbpnns_force_convert=1

    So for example:

    https://www.yourdomain.com/wp-admin?bbpnns_force_convert=1

    That’ll run the upgrade immediately and display a success message. There’s no prompting before running the upgrade.

    For security reasons, the query string will only kick in if you’re an administrator and logged into WP Admin and running the query string from an admin URL and have the actual need to convert.

    • This reply was modified 5 years, 10 months ago by useStrict.
Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Fatal’ is closed to new replies.