Error: Cannot redeclare

I got 3 reports regarding and error that says “Cannot redeclare function …”. 2 from here and 1 from here.

This is likely that you did not follow the upgrading instructions as stated in the readme.html (but I maybe wrong though).

When updating a plugin, please make sure you DEACTIVATE the plugin first before launching your FTP software to overwrite the files. BUT the best way is to delete that particular plugin folder altogether instead of overwriting it.

When updating WordPress, always DELETE everything EXCEPT your .htaccess, wp-config.php and wp-content folder. After that, then you upload the files in the zip that you have downloaded and run upgrade.php.

Tags: ,

Email This Post Email This Post Print This Post Print This Post

1 Star2 Stars3 Stars4 Stars5 Stars (21 votes, average: 3.81 out of 5)

 

4 Responses to “Error: Cannot redeclare”

  1. The error does not occur with the RC1 of WP 2.3, but it did in Beta 3. The WP Sticky plugin works fine with RC1.

  2. GaMerZ says:

    Did u follow my steps as stated when upgrading? I did not try beta 3 but beta 2 and rc1 is fine for me

  3. Adam says:

    I get this message with a brand new install of 2.3.

    The message I get:
    Fatal error: Cannot redeclare poll_menu() (previously declared in /u21/scsu/g/gersteina1/www/wordpress/wp-content/plugins/polls/polls.php:50) in ../../../wp-content/plugins/polls/polls.php on line 49

  4. GaMerZ says:

    what version of wp-polls?