MyBB Community Forums

Full Version: Plugins Page - Fatal Error: Cannot redeclare
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Fatal error: Cannot redeclare output_page() (previously declared in /home/blabla/public_html/inc/functions.php:17) in /home/blabla/public_html/inc/plugins/functions.php on line 108

I went to go to my plugins page and this is the error I get. I recently uploaded the MyBlogs plugin when this started happening, but after deleting the files the error persists.

I replaced the directory with blabla for obvious reasons.
Why's there a functions.php in the plugins folder?
There needs to be, that's the structure in the MyBB download package.
There shouldn't be a functions.php in the plugins folder.
Well when I take it out I can't even access the ACP.
Upload all your files again, there's something very wrong with your files if you've got a functions.php there to begin with and even more so if things break when you remove it.
As said above, functions.php shouldn't be in your plugin folder, only plugins should be Wink
Ok I reuploaded my files and took out functions.php from the plugins folder and everything seems to be working now.

Thanks for the help.