Cloud Guru Online

We simplify everything!

Prestashop-Restoration issues

Whenever you had to restore a Prestashop website from backup, there are chances that you face the below error in the front end.

Fatal error: Uncaught Error: Class ‘Doctrine\Common\Cache\ArrayCache’ not found in /home/******/public_html/******/src/Adapter/ContainerBuilder.php:199

In such situations,

  • Install a fresh PS on a subfolder (make sure the version is almost close to the one you have now)
  • Rsync the following folders (or get those from https://prestashop.com/versions/)
    • cache
    • classes/cache
    • vendor/doctrine/cache
    • vendor/psr/cache
  • Remove the cache files from var/cache/prod and var/cache/dev

Leave a Reply

Your email address will not be published. Required fields are marked *