WordPress.org

Forums

WP Updates Notifier
[resolved] Strict Standards: Non-static method sc_WPUpdatesNotifier (4 posts)

  1. Kramarz
    Member
    Posted 12 months ago #

    Hi there, while trying to solve other issue I have, I found this error being throw at me with wp_debug enabled:

    1) in dashboard

    Strict Standards: Non-static method sc_WPUpdatesNotifier::settingsUpToDate() should not be called statically in /var/www/web/wp-content/plugins/wp-updates-notifier/wp-updates-notifier.php on line 42 Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method sc_WPUpdatesNotifier::admin_settings_init() should not be called statically in /var/www/web/wp-includes/plugin.php on line 470 Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method sc_WPUpdatesNotifier::remove_update_nag_for_nonadmins() should not be called statically in /var/www/web/wp-includes/plugin.php on line 470

    2) in frontend

    Strict Standards: Non-static method sc_WPUpdatesNotifier::settingsUpToDate() should not be called statically in /var/www/web/wp-content/plugins/wp-updates-notifier/wp-updates-notifier.php on line 42

    Anything to worry about?

    Kind Regards

    https://wordpress.org/plugins/wp-updates-notifier/

  2. archerdata
    Member
    Posted 4 months ago #

    I had this problem. Check: wp-config.php

    Around line 89, look for: define('WP_DEBUG', false);

    If it's set to 'true' ... change it to false.

    This fixed it for me.

  3. Kramarz
    Member
    Posted 4 months ago #

    If you would read my question :-)
    I know it's set to 'true' cause I set it to 'true' and I want it that way.
    Don't want the error to show up though.
    Anyway, that's 7 months! old stuff... don't need help with this anymore.
    Deleted the plugin.

  4. Christoph Bessei
    Member
    Posted 2 weeks ago #

    Hi,

    this problem is still NOT resolved.
    Please change the function definition from
    private function settingsUpToDate() {

    to

    private static function settingsUpToDate() {

    Set WP_DEBUG to false is just a workaround and not a solution.

    Cheers,
    Chris

Reply

You must log in to post.

About this Plugin

  • WP Updates Notifier
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.