How to resolve a 500 error after installing or updating a module?

HelpCenter

500 errors after updating or installing modules are often due to one or more of the following elements:

  • Compatibility between Modules: Some modules may not be compatible with each other or with your version of PrestaShop.
  • Site Cache: An outdated cache can cause conflicts after an update.
  • Code Conflicts: Modifications in module files may conflict.
  • Incomplete Updates: Sometimes, updates do not complete properly, leaving corrupted files.

Solutions that you can implement

  1. Check Module Compatibility:
    • Ensure that all modules are compatible with your version of PrestaShop.
    • Disable the recently installed or updated modules one by one to identify the one causing the conflict.
  2. Clear the Cache:
    • Via FTP: access ./var/cache and then delete the /prod folder.
    • Via back-office: In Advanced Parameters > Performance, click on Clear Cache.
  3. Activate Debug Mode:
    • Via FTP: access ./config/defines.inc.php and then change the value of 'PS_MODE_DEV' to true.
    • Via back-office: In Advanced Parameters > Performance, activate Debug Mode.
  4. Restore a Backup:
    • If you have a recent backup before the modification of the modules, consider restoring your store to that state. This is a last resort, as you risk losing data!

If these solutions do not resolve the issue, you can also consult the article that addresses more general 500 errors: Fixing a 500 Error.

We also offer Advanced Technical Support, which includes a comprehensive diagnosis and a personalized resolution of your issue. If you have any questions or wish to proceed with this option, please do not hesitate to contact us.

⚠️ This article has been translated by a machine translation program.