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 (20 votes, average: 3.95 out of 5)
Loading ... Loading ...

 

4 Responses to “Error: Cannot redeclare”

  1. Nachtwaechter's Avatar
    Nachtwaechter Says:

    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.

    Nachtwaechter did not rate this post.
  2. GaMerZ's Avatar
    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

    GaMerZ did not rate this post.
  3. Adam's Avatar
    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

    Adam did not rate this post.
  4. GaMerZ's Avatar
    GaMerZ Says:

    what version of wp-polls?

    GaMerZ did not rate this post.

 

Comments to this post are closed after 30 days of inactivity.