• I was debugging something else and discovered a bug in your plugin in the process. In debug mode, it generated the following errors from debug.log:

    [19-Jul-2015 16:02:17 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method PHPPC::register_admin_menu() should not be called statically in /home/omg/public_html/wp-includes/plugin.php on line 496
    [19-Jul-2015 16:02:30 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method PHPPC::register_admin_menu() should not be called statically in /home/omg/public_html/wp-includes/plugin.php on line 496
    [19-Jul-2015 16:02:30 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method PHPPC::register_stylesheet() should not be called statically in /home/omg/public_html/wp-includes/plugin.php on line 496
    [19-Jul-2015 16:02:30 UTC] PHP Strict Standards: Non-static method PHPPC::get_option() should not be called statically in /home/omg/public_html/wp-content/plugins/php-code-for-posts/PHPPostCode.php on line 212
    [19-Jul-2015 16:02:30 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method PHPPC::register_script() should not be called statically in /home/omg/public_html/wp-includes/plugin.php on line 496
    [19-Jul-2015 16:02:30 UTC] PHP Strict Standards: Non-static method PHPPC::get_option() should not be called statically in /home/omg/public_html/wp-content/plugins/php-code-for-posts/PHPPostCode.php on line 228
    [19-Jul-2015 16:02:30 UTC] PHP Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method PHPPC::do_admin_menu() should not be called statically in /home/omg/public_html/wp-includes/plugin.php on line 496
    [19-Jul-2015 16:02:30 UTC] PHP Strict Standards: Non-static method PHPPC::check_post_vars() should not be called statically in /home/omg/public_html/wp-content/plugins/php-code-for-posts/PHPPostCode.php on line 288
    [19-Jul-2015 16:02:30 UTC] PHP Strict Standards: Non-static method PHPPC::do_admin_menu_main() should not be called statically in /home/omg/public_html/wp-content/plugins/php-code-for-posts/PHPPostCode.php on line 308
    [19-Jul-2015 16:02:30 UTC] PHP Strict Standards: Non-static method PHPPC::get_option() should not be called statically in /home/omg/public_html/wp-content/plugins/php-code-for-posts/PHPPostCode.php on line 646

    https://ww.wp.xz.cn/plugins/php-code-for-posts/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘PHP Strict Standards: Non-static method PHPPC::get_option()’ is closed to new replies.