So my Evo site stopped working the other day - just got a 500 error. I got my host to check the logs and found this:
[error] PHP Fatal error: Cannot redeclare insert_metka() (previously declared in
/home/mysite/public_html/manager/includes/document.parser.class.inc.php(790) : eval()'d code:2)
in /home/mysite/public_html/manager/includes/document.parser.class.inc.php(790) : eval()'d code on line 12
I have tired commenting out the offending line and removing the entire file to no avail. Does anyone know what this means and how to fix it?
EDIT: the code at line 790:
eval ($pluginCode);
Cannot redeclare insert_metka()says that you are declaring a function twice. You should check on your included files. To be sure to not include more than one time, you can useinclude_onceorrequiere_onceinstead ofincludeandrequiere- MatRtdocument.parser.class.inc.php? - MatRt