YooYop Posted November 23, 2020 Share Posted November 23, 2020 Bonjour, étant nouveau sur Prestashop ( deux semaines d'expérience ) et devant reprendre un ancien site pour le remettre en ligne, je rencontre pas mal de problèmes dont je ne connais pas la source. Jusqu'à maintenant, j'ai réussi à trouver des solutions, mais une erreur me retourne le cerveau : de temps en temps, quand j'essaie d'accéder, par exemple, au catalogue produit ou aux modules... TADAAAAAMContextErrorException in AbstractToken.php line 164: Warning: unserialize() expects parameter 1 to be string, array given PRESTASHOP VERSION : 1.7.2.0 PHP VERSION : 7.1.33 APACHE VERSION : 2.4.46 MYSQL VERSION : 5.7.31 Cette erreur fait je ne sais combien de lignes, comme vous pouvez le voir à la barre de Scroll sur le côté. J'ai essayé de vider le cache du navigateur, vider le cache prestashop, virer les cookies enregistrés. Je ne sais pas pourquoi, mais quelquefois elle disparaît, et reviens ensuite. Merci de votre aide, en vous souhaitant une bonne journée ! Link to comment Share on other sites More sharing options...
evelyng.com Posted July 10, 2021 Share Posted July 10, 2021 Tengo el mismo problema, hace unos dias el servidor fue trasladado y me desconfiguraron mi sitio prestahop y no lograron recuperarlo. Cuando intento acceder a los siguientes elementos genera error CATALOGO productos stocks MODULOS módulos y servicios catalogo de módulos PAGO Preferencias PARAMETROS AVANZADOS Información Rendimiento Whoops, looks like something went wrong. 1/1ContextErrorException in AbstractToken.php line 162:Warning: unserialize() expects parameter 1 to be string, array given in AbstractToken.php line 162 at ErrorHandler->handleError('2', 'unserialize() expects parameter 1 to be string, array given', '/home/vendor/symfony/symfony/src/Symfony/Component/Security/Core/Authentication/Token/AbstractToken.php', '162', array('serialized' => array(object(Employee), true, array(object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), object(Role), at UsernamePasswordToken->unserialize('a:3:{i:0;N;i:1;s:5:"admin";i:2;a:4:{i:0;O:40:"PrestaShopBundle\Security\Admin\Employee":6:{s:44:"PrestaShopBundle\Security\Admin\Employeeid";i:1;s:50:"PrestaShopBundle\Security\Admin\Employeeusername";s:25:"... at ContextListener->handle(object(GetResponseEvent)) in classes.php line 5634 at Firewall->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) at call_user_func(array(object(Firewall), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(TraceableEventDispatcher)) in WrappedListener.php line 61 at WrappedListener->__invoke(object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) at call_user_func(object(WrappedListener), object(GetResponseEvent), 'kernel.request', object(ContainerAwareEventDispatcher)) in classes.php line 3864 at EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.request', object(GetResponseEvent)) in classes.php line 3779 at EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in TraceableEventDispatcher.php line 133 at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in bootstrap.php.cache line 3242 at HttpKernel->handleRaw(object(Request), '1') in bootstrap.php.cache line 3212 at HttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 3366 at ContainerAwareHttpKernel->handle(object(Request), '1', false) in bootstrap.php.cache line 2566 at Kernel->handle(object(Request), '1', false) in index.php line 86 Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now