tomfern
Member
Posted 5 years ago #
When I try and activate certain plugins, I get the following fatal error:
“Fatal error: Cannot redeclare write_post() (previously declared in ..//wp-admin/admin-functions.php:4) in ../wp-admin/admin-functions.php on line 3″
Any ideas on how to solve this? I've tried everything.
Thanks in advance,
Tom
In these plugins the file /wp-admin/admin-functions.php is probably called through an include or require command. Change this to an include_once or require_once command. Click here for more info on this.
tomfern
Member
Posted 5 years ago #
Thanks, but it was already a required_once command.
Any other suggestions?
Comment out the line with the require in it, and see if it works. (it is a longshot btw)
edit: Forget that, look over here.