When I am updating Google Language Translator Version 3.0.7 to the current version, I get a fatal error message saying the following:
“Fatal error: Cannot redeclare register_foo_widget() (previously declared in …/wp-content/plugins/google-language-translator/widget.php:49) in …/wp-content/plugins/wp-scroll-posts/wp-scroll-posts.php on line 386”
Please check and resolve asap as I am not able to take the benefits of the new version.
Hi bikasn, I think the developer of wp-scroll-posts is using the same “sample” widget from the wordpress Codex, for their widget. We need to change the name of either my plugin widget function or theirs.
OK, so let’s try something – locate this area of widget.php: