I was moving a EE-site from one server to another. The stable server was functioning with all the plugins. Once the site was moved to another server with the same server setup as the stable server I received the following problem:
Fatal Error “include_once” : can not re-declare class xxxxxx Loader.php line 818
The Loader.php file is in the codeigniter core, but this had nothing to do with the problem.
All the posts i read said that this is related to a class that was re-declared twice.
However that was not the case, if anyone else is struggling with same error that i was getting heres a quick fix.
Simple fix : replace the system folder !
Use the stable servers “system” folder which contains the codeigniter and expressionengine folders and replace that folder on the new server with your stable system folder.
EE-stable-Folder/system——> EE-new_server-Folder/system
😊