I am getting the following error on my site:
Strict Standards: call_user_func_array() expects parameter 1 to be a valid callback, non-static method GoogleSitemapGeneratorLoader::Enable() should not be called statically in /wp-includes/plugin.php on line 403
Enableneeds to be declared as a static method, or it should not be called statically. (I am not sure which one is correct).
- The topic ‘Error: Non static method being called statically’ is closed to new replies.