Cannot_redeclare is caused by the same code trying to be loaded twice. So, I suggest trying the include_once() statement.
The include_once() statement includes and evaluates the specified file during the execution of the script. This is a behavior similar to the include() statement, with the only difference being that if the code from a file has already been included, it will not be included again. As the name suggests, it will be included just once.
Hopefully that fixes the problem.