Bugfix request: PHP notice: strict standards …
-
The following notice occurs when the plugin is active
Strict standards:
call_user_func_array()
expects parameter 1 to be a valid callback, non-static methodKWS_User_Groups::load()
should not be called staticallyIt originates at line 10 of the plugin file:
add_action('plugins_loaded', array('KWS_User_Groups', 'load'), 200);
To remove this annoying notice the keyword static has to be inserted in line 15:
static function load() {
Viewing 6 replies - 1 through 6 (of 6 total)
Viewing 6 replies - 1 through 6 (of 6 total)
- The topic ‘Bugfix request: PHP notice: strict standards …’ is closed to new replies.