Jump to content

Unable to persist data in cache data layer

Recommended Posts

Posted (edited)


J'essaie d'accéder à mon application prestashop mais j'ai cette erreur:

    [Thu Jun 25 14:38:17.752628 2020] [php7:error] [pid 17292] [client]
    PHP Fatal error:  Uncaught PrestaShop\\PrestaShop\\Core\\Data\\Layer\\DataLayerException: 
    Unable to persist data in cache data layer in /home/templth/apps/ats-triumph/ats/src/Core/Localization/CLDR/DataLayer/LocaleCache.php:124\n
    Stack trace:\n#0 /home/templth/apps/ats-triumph/ats/src/Core/Data/Layer/AbstractDataLayer.php(196): 
    PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\DataLayer\\LocaleCache->doWrite('fr-FR', Object(PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleData))\n#1 /home/templth/apps/ats-triumph/ats/src/Core/Data/Layer/AbstractDataLayer.php(102):
    PrestaShop\\PrestaShop\\Core\\Data\\Layer\\AbstractDataLayer->saveReadPropagationResult('fr-FR', Object(PrestaShop\\PrestaShop\\Core\\Localization\\CLDR\\LocaleData))\n#2 /home/templth/apps/ats-triumph/ats/src/Core/Localization/CLDR/LocaleDataSource.php(62):
    PrestaShop\\PrestaShop\\Core\\Data\\Layer\\AbstractDataLayer->read('fr-FR')\n#3 /media/templth in /home/templth/apps/ats-triumph/ats/src/Core/Data/Layer/AbstractDataLayer.php on line 198

J'ai supprimé le répertoire  `var/cache` mais toujours l'erreur.

Chose étrange, j'ai le cache de désactivé dans le fichier `parameters.php`:

    <?php return array (
      'parameters' => 
      array (
        'ps_caching' => 'CacheMemcache',
        'ps_cache_enable' => false,
        'ps_creation_date' => '2020-03-11',
        'locale' => 'fr-FR',
        'use_debug_toolbar' => true,

Voici les versions utilisées:

  • Prestashop: 1.7
  • PHP: 7.3
  • Mysql: 5.7.29

En vous remerciant pour votre aide,

Edited by templth (see edit history)

Share this post

Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More