[resolved] Strict Standards: get_object needs to be static (3 posts)

  1. fightthecurrent
    Posted 2 years ago #

    FWIW, I'm getting strict standard warnings for the get_object function. It's not set as a static function :)


  2. treccase
    Posted 2 years ago #

    This warning is still there and in 24 hours it creates a 1 meg sized error log file full of those warning on a very low volume website:

    [23-Jan-2014 15:55:07 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method AdminerForWP::get_object() should not be called statically in /wp-includes/plugin.php on line 429

    It can be fixed by adding PUBLIC STATIC in front of the function name but i havent looked for it.

  3. Frank Bueltge
    Plugin Author

    Posted 2 years ago #

    Is solved in the next version, but currently not releases. I think, I can release this weekend the new version.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic


No tags yet.