WordPress.org

Forums

Fatal error: Cannot redeclare uninstall_plugin (5 posts)

  1. lyrical
    Member
    Posted 6 years ago #

    When click into my Plugins on the new dashboard I receive this message:

    Site #1:
    Fatal error: Cannot redeclare uninstall_plugin() (previously declared in /www/xxx/docs/wp-admin/includes/plugin.php:509) in /www/xxx/docs/wp-content/plugins/pluginstaller/uninstall.php on line 89

    Site #2:
    Fatal error: Cannot redeclare uninstall_plugin() (previously declared in /home/xxx/public_html/wp-admin/includes/plugin.php:509) in /home/xxx/public_html/wp-content/plugins/pluginstaller/uninstall.php on line 14

    Site #3:
    Fatal error: Cannot redeclare uninstall_plugin() (previously declared in /home/xxx/public_html/wp-admin/includes/plugin.php:509) in /home/xxx/public_html/wp-content/plugins/pluginstaller/uninstall.php on line 89

    For obvious reasons I have changed the web addresses to xxx. This is happening on several of my WP sites. Help?

  2. fitztrev
    Member
    Posted 6 years ago #

    In short, the plugin is not compatible with 2.7.

    It's because of a change that introduced the "uninstall_plugin" function to the WordPress core.

  3. lyrical
    Member
    Posted 6 years ago #

    not being a pro, would you help this layperson in explaining how I can correct this error? thanks!

  4. You have some kind of plugin called "pluginstaller". It's interfering with the new built in plugin installer functionality.

    Remove that interfering plugin.

  5. lyrical
    Member
    Posted 6 years ago #

    thank you, that worked!

Topic Closed

This topic has been closed to new replies.

About this Topic