Jump to content

Unable to persist data in cache data layer


Recommended Posts

I'm trying to access to a prestashop application but I got this error:

    [Thu Jun 25 14:38:17.752628 2020] [php7:error] [pid 17292] [client 127.0.0.1:36166]
    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

I removed the folder `var/cache` but I still have the error.

Strange thing is that I have the cache disabled in the `parameters.php` file:

    <?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,
        (...)
      ),
    );

Here are the versions I use:

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

Thanks for your help,
Thierry

Edited by templth (see edit history)
Link to comment
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...