Jump to content
Lynda

Erreur 500 sur "Module manager"

Recommended Posts

Bonjour.

Lorsque je clique sur Module manager dans le BO, j'ai l'erreur 500 ci-dessous. Je ne comprends pas d'où ça vient. Pouvez-vous m'aider ?

Merci beaucoup.

 

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"?', '/homepages/14/d450210053/htdocs/production/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php', 2636, array('file' => '/homepages/14/d450210053/htdocs/production/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('/homepages/14/d450210053/htdocs/production/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 1331

at appDevDebugProjectContainer->getDoctrine_Orm_DefaultEntityManagerService()in appDevDebugProjectContainer.php line 1417

at appDevDebugProjectContainer->getPrestashop_Adapter_DataProvider_ModuleService()in appDevDebugProjectContainer.php line 1761

at appDevDebugProjectContainer->getPrestashop_Twig_Extension_HookService()in appDevDebugProjectContainer.php line 1972

at appDevDebugProjectContainer->getTwigService()in appDevDebugProjectContainer.php line 1856

at appDevDebugProjectContainer->getProfilerService()in appDevDebugProjectContainer.php line 2858

at appDevDebugProjectContainer->getProfilerListenerService()in appDevDebugProjectContainer.php line 2375

at appDevDebugProjectContainer->ContainerDqu5hjs\{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

Share this post


Link to post
Share on other sites

Merci pour vos réponses.
malheureusement, j'ai essayé de repasser dans des versions PHP antérieures et ça ne change rien.
Ci joint les messages d'erreur que j'ai dans le BO et en FO.

Capture d’écran 2019-12-10 à 18.26.33.png

Capture d’écran 2019-12-10 à 18.26.45.png

Share this post


Link to post
Share on other sites

Bonjour.

Je suis repassé en PHP 7.2, j'ai vidé le cache PS, et l'erreur 500 a bien disparue. Merci beaucoup pour votre aide.
Ca veut dire qu'on est condamnés à rester en PHP 7.2 ?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More