Thank you, but presents error "
The locale is invalid" in Prestashop 1.7.6
Uncaught Exception: The locale is invalid
Post automatically merged: Sep 11, 2019
Thank you, but presents error "
The locale is invalid" in Prestashop 1.7.6
Uncaught Exception: The locale is invalid
I don't know if this is the correct solution:
I commented:
classes/Translate.php - line 191
classes/Language.php - line 806
Post automatically merged: Sep 11, 2019
Now, I have problem in Product Edit.
An exception has been thrown during the rendering of a template ("Serialization of 'Closure' is not allowed").
in src/PrestaShopBundle/Resources/views/Admin/layout.html.twig (line 34)
layoutHeaderToolbarBtn is defined ? layoutHeaderToolbarBtn : [],
layoutDisplayType is defined ? layoutDisplayType : '',
showContentHeader is defined ? showContentHeader : true,
headerTabContent is defined ? headerTabContent : '',
enableSidebar is defined ? enableSidebar : false,
help_link is defined ? help_link : ''
)
)) %}
{% import '@PrestaShop/Admin/macros.html.twig' as ps %}