Mequin Patricia Posted April 27, 2020 Share Posted April 27, 2020 bonjour, j'ai ce problème depuis que j'ai voulu mettre à jour mes moyens de paiement warning à la ligne 2636 du fichier comment puis-je y remedier car quand je retourne sur les paramètres avances j'ai une autre pages d'erreurs qui s'affiche : ContextErrorException Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in UnitOfWork.php line 2636 at ErrorHandler->handleError(2, '"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?', '/home/beckiesnzg/www/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php', 2636, array('file' => '/home/beckiesnzg/www/vendor/composer/../doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php'))in ClassLoader.php line 444 at include()in ClassLoader.php line 444 at Composer\Autoload\includeFile('/home/beckiesnzg/www/vendor/composer/../doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php')in ClassLoader.php line 322 at ClassLoader->loadClass('Doctrine\\ORM\\UnitOfWork')in DebugClassLoader.php line 159 at DebugClassLoader->loadClass('Doctrine\\ORM\\UnitOfWork') at spl_autoload_call('Doctrine\\ORM\\UnitOfWork')in EntityManager.php line 160 at EntityManager->__construct(object(Connection), object(Configuration), object(ContainerAwareEventManager))in EntityManager.php line 850 at EntityManager::create(object(Connection), object(Configuration))in appDevDebugProjectContainer.php line 1315 at appDevDebugProjectContainer->getDoctrine_Orm_DefaultEntityManagerService()in appDevDebugProjectContainer.php line 1401 at appDevDebugProjectContainer->getPrestashop_Adapter_DataProvider_ModuleService()in appDevDebugProjectContainer.php line 1745 at appDevDebugProjectContainer->getPrestashop_Twig_Extension_HookService()in appDevDebugProjectContainer.php line 1956 at appDevDebugProjectContainer->getTwigService()in appDevDebugProjectContainer.php line 1840 at appDevDebugProjectContainer->getProfilerService()in appDevDebugProjectContainer.php line 2842 at appDevDebugProjectContainer->getProfilerListenerService()in appDevDebugProjectContainer.php line 2359 at appDevDebugProjectContainer->Container7hxn6vj\{closure}()in EventDispatcher.php line 145 at EventDispatcher->removeListener('kernel.exception', array(object(ExceptionListener), 'onKernelException'))in ContainerAwareEventDispatcher.php line 96 at ContainerAwareEventDispatcher->removeListener('kernel.exception', array(object(ExceptionListener), 'onKernelException'))in TraceableEventDispatcher.php line 75 at TraceableEventDispatcher->removeListener('kernel.exception', array(object(ExceptionListener), 'onKernelException'))in ExceptionListener.php line 82 at ExceptionListener->unregister(object(TraceableEventDispatcher))in Firewall.php line 92 at Firewall->onKernelFinishRequest(object(FinishRequestEvent))in FirewallListener.php line 57 at FirewallListener->onKernelFinishRequest(object(FinishRequestEvent), 'kernel.finish_request', object(TraceableEventDispatcher))in WrappedListener.php line 111 at WrappedListener->__invoke(object(FinishRequestEvent), 'kernel.finish_request', object(ContainerAwareEventDispatcher))in EventDispatcher.php line 212 at EventDispatcher->doDispatch(array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.finish_request', object(FinishRequestEvent))in EventDispatcher.php line 44 at EventDispatcher->dispatch('kernel.finish_request', object(FinishRequestEvent))in TraceableEventDispatcher.php line 143 at TraceableEventDispatcher->dispatch('kernel.finish_request', object(FinishRequestEvent))in HttpKernel.php line 210 at HttpKernel->finishRequest(object(Request), 1)in HttpKernel.php line 74 at HttpKernel->handle(object(Request), 1, false)in Kernel.php line 200 at Kernel->handle(object(Request), 1, false)in index.php line 88 Comment puis-je y remedier merci erreur prestashop.pdf Link to comment Share on other sites More sharing options...
kerlin Posted April 27, 2020 Share Posted April 27, 2020 bonjour Quelle version de Prestashop ? Link to comment Share on other sites More sharing options...
doekia Posted April 27, 2020 Share Posted April 27, 2020 Revenir à un version de PHP compatible avec votre prestashop (PHP7.1 max) Link to comment Share on other sites More sharing options...
Mequin Patricia Posted April 27, 2020 Author Share Posted April 27, 2020 j'ai la version 1.7 installer avec OVH Link to comment Share on other sites More sharing options...
Mequin Patricia Posted April 27, 2020 Author Share Posted April 27, 2020 Installée depuis le 17 janvier Link to comment Share on other sites More sharing options...
Mequin Patricia Posted April 27, 2020 Author Share Posted April 27, 2020 j'ai finalement opter pour restaurer la sauvegarde d'hier mais du coup mes produits n'ont plus de boutons acheter et je ne peux pas vider le cache j'ai une erreur 500 http://beckiesnails.fr/index.php?id_product=21&id_product_attribute=0&rewrite=epilations&controller=product Link to comment Share on other sites More sharing options...
kerlin Posted April 27, 2020 Share Posted April 27, 2020 vous pouvez vider le cache via le FTP, en supprimant les dossiers dev et prod dans le dossier var/cache Comme cela peut être long, renommez-les d'abord (exemple dev_old et prod_old) et testez le site. Si l'erreur est survenue après la mise à jour d'un module de paiement, désactivez le momentanément en renommant son dossier dans le dossier Modules. Quelle est la version de PHP ? 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