Cannot delete plugins - 'fatal error'

Building one’s own theme is exasperating.

Today I have an issue that doesn’t seem to appear (in resolved form) on google at all.

When clicking ‘delete’ on plugin page I suddenly get the following two errors:

[php]Notice: Constant WP_BLOG_ADMIN already defined in /Users/seanneylon/DESIGN/Wordpress/wp-admin/admin.php on line 24

Fatal error: Cannot redeclare _add_themes_utility_last() in /Users/seanneylon/DESIGN/wordpress/wp-admin/menu.php on line 158[/php]

What do they mean and how on earth do I resolve it? All was ok at the start of the day yesterday.

Thanks in advance.

The first error is a warning that a constant has already been defined. This means that a constant is being declared more than once in your code, which is not allowed in PHP. To solve this issue, you’ll need to find the duplicate declaration of the constant and remove it.

The second error is a fatal error which means that a function has been declared more than once in your code. To solve this, you’ll need to find the duplicate declaration of the function and remove it.

Sponsor our Newsletter | Privacy Policy | Terms of Service