Bonjour,
J'ai mis à jour mon site de Prestashop 1.6 à Prestashop 1.7 et depuis impossible d'accéder au back-office.
J'ai effectué l'upgrade en local sur WAMP.
La partie Front s'affiche à peu près correctement. (Il me reste à mettre à jour les modules.)
La partie Back par contre m'affiche le formulaire de connexion et quand je valide "POUF" :
"Cette page ne fonctionne pas
Impossible de traiter cette demande via localhost à l'heure actuelle.
HTTP ERROR 500"
Je suis en mode dev et les messages d'erreurs s'affichent bien sur le front mais rien sur le back.
La console de Chrome me dit : Failed to load resource: the server responded with a status of 500 ()
Du coup je suis allée chercher un message d'erreur dans les logs :
[2021-03-11 13:08:08] doctrine.DEBUG: SELECT name FROM ps_module WHERE active = 1 [] []
[2021-03-11 13:08:08] translation.WARNING: Translation not found. {"id":"Successful deletion.","domain":"AdminNotificationsSuccess","locale":"fr-FR"} []
[2021-03-11 13:08:08] translation.WARNING: Translation not found. {"id":"The selection has been successfully deleted.","domain":"AdminNotificationsSuccess","locale":"fr-FR"} []
[2021-03-11 13:08:08] translation.WARNING: Translation not found. {"id":"Successful creation.","domain":"AdminNotificationsSuccess","locale":"fr-FR"} []
[2021-03-11 13:08:09] translation.WARNING: Translation not found. {"id":"Successfully signed in to PrestaShop Addons.","domain":"AdminModulesNotification","locale":"fr-FR"} []
[2021-03-11 13:08:09] translation.WARNING: Translation not found. {"id":"The root category of the shop %shop% is not associated with the current shop. You can't access this page. Please change the root category of the shop.","domain":"AdminCatalogNotification","locale":"fr-FR"} []
[2021-03-11 13:08:09] php.CRITICAL: Maximum function nesting level of '256' reached, aborting! {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Maximum function nesting level of '256' reached, aborting! at C:\\wamp64\\www\\*******\\classes\\cache\\Cache.php:700)"} []
[2021-03-11 13:08:14] request.CRITICAL: Uncaught PHP Exception Symfony\Component\Debug\Exception\FatalThrowableError: "Maximum function nesting level of '256' reached, aborting!" at C:\wamp64\www\*******\classes\cache\Cache.php line 700 {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\FatalThrowableError(code: 0): Maximum function nesting level of '256' reached, aborting! at C:\\wamp64\\www\\*********\\classes\\cache\\Cache.php:700)"} []
[2021-03-11 13:08:23] php.CRITICAL: Fatal Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 15106048 bytes) {"exception":"[object] (Symfony\\Component\\Debug\\Exception\\OutOfMemoryException(code: 0): Error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 15106048 bytes) at C:\\wamp64\\www\\*********\\var\\cache\\dev\\twig\\0c\\0ccb8ec178abb9900947f9b1684fb9b4db9d623791dae59236673cc940001528.php:93)"} []
(Les "****" sont volontaires)
Si quelqu'un comprend le problème, je suis preneuse 😃