Some PHP warnings when debug enabled
-
Hello, just to let you know, using WordPress in debugging mode by enabling “define(‘WP_DEBUG’, true);” in wp-config.php, I came across some php warnings when using the MSLS plugin. I’m using PHP 5.4.
The warnings are:
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method MslsPlugin::init_widget() should not be called statically in /Users/ehuang/Documents/apache-doc-root/wordpress/wp-includes/plugin.php on line 406Strict Standards: Accessing static property MslsRegistry::$arr as non static in /Users/ehuang/Documents/apache-doc-root/wordpress/wp-content/plugins/multisite-language-switcher/includes/MslsRegistry.php on line 42
Strict Standards: Accessing static property MslsRegistry::$arr as non static in /Users/ehuang/Documents/apache-doc-root/wordpress/wp-content/plugins/multisite-language-switcher/includes/MslsRegistry.php on line 52
Strict Standards: Static function MslsMain::init() should not be abstract in /Users/ehuang/Documents/apache-doc-root/wordpress/wp-content/plugins/multisite-language-switcher/includes/MslsMain.php on line 24
They are fixed easily enough. If you need more details I can send you some.
Great plugin by the way.
The topic ‘Some PHP warnings when debug enabled’ is closed to new replies.