KanSha Posted April 18, 2020 Share Posted April 18, 2020 Hi Would appreciate any help support for a fatal error message It is a fresh new istall PrestaShop version 1.6.1.24, have not loaded any modules for last 2 days, and the last module installed was PayPal all appears to be working fine in Admin I selected Modules and got the following error [PrestaShop] Fatal error in module file :/home/admin/public_html/romfordgifts.co.uk/classes/module/Module.php(1361) : eval()'d code: syntax error, unexpected ')', expecting ';' In the file manager /classes/modules/module.php line 1359 to 1366 shows the following 1359 // If (false) is a trick to not load the class with "eval". 1360 // This way require_once will works correctly 1361 if (eval('if (false){ '.$file."\n".' }') !== false) { 1362 require_once(_PS_MODULE_DIR_.$module.'/'.$module.'.php'); 1363 } else { 1364 $errors[] = sprintf(Tools::displayError('%1$s (parse error in %2$s)'), $module, substr($file_path, strlen(_PS_ROOT_DIR_))); 1365 } 1366 } Thank You Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now