Jump to content

[PrestaShop] Fatal error in module file. Cannot redeclare class Cron


Recommended Posts

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

  • 3 months later...

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

×
×
  • Create New...