AndrewMcM Posted September 28, 2015 Share Posted September 28, 2015 Hi everyone, There were a few modules that needed updated. I hit the auto update option and now get this error. [PrestaShop] Fatal error in module file. /httpd.www/modules/advancedimporter/classes/cron.php: Cannot redeclare class Cron. Now when I go into my modules this error just appears. It seems as though there is something in the php file that is being redeclared twice. Any ideas folks? Link to comment Share on other sites More sharing options...
cqq Posted January 28, 2016 Share Posted January 28, 2016 maybe you have the module override. try 1.restore to the previous point 2.remove the module that have problem , include in the override folder (save or backup the module, so you can correct the script later to match the update) 3. try autoupdate again Link to comment Share on other sites More sharing options...
bellini13 Posted January 28, 2016 Share Posted January 28, 2016 Or perhaps you now have 2 different modules which both have created a class called Cron... Classes names have to be unique... Link to comment Share on other sites More sharing options...
Recommended Posts