Jump to content

Edit History

SebastienGo

SebastienGo

Bonjour

 

Je viens vers vous pour savoir se que je peux faire suite a une erreur 500, a vrai dire un CMS qu'avec des erreur 500

 

Voici le message Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

et cette erreur reviens tout le temps, en sachant que ma version de PHP c'est le 7.3 (Donc la dernière version supporter par prestashop.

et la version de PrestaShop est la 1.7.6.8.

(1/1) 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/sebastie/public_html/site.sebgovape.fr/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php', 2636, array('class' => 'Doctrine\\ORM\\UnitOfWork', 'e' => 32767, 'file' => '/home/sebastie/public_html/site.sebgovape.fr/vendor/composer/../doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php'))
in DebugClassLoader.php line 156
at require()
in DebugClassLoader.php line 156
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 1858
at appDevDebugProjectContainer->getDoctrine_Orm_DefaultEntityManagerService()
in getPrestashop_Translation_DatabaseLoaderService.php line 8
at require('/home/sebastie/public_html/site.sebgovape.fr/var/cache/dev/ContainerLhicwe2/getPrestashop_Translation_DatabaseLoaderService.php')
in appDevDebugProjectContainer.php line 1747
at appDevDebugProjectContainer->load('getPrestashop_Translation_DatabaseLoaderService.php')
in appDevDebugProjectContainer.php line 3782
at appDevDebugProjectContainer->ContainerLhicwe2\{closure}()
in ServiceLocator.php line 64
at ServiceLocator->get('prestashop.translation.database_loader')
in Translator.php line 141
at Translator->initialize()
in Translator.php line 127
at Translator->initializeCatalogue('fr-FR')
in Translator.php line 314
at Translator->dumpCatalogue('fr-FR', object(ResourceCheckerConfigCache))
in Translator.php line 299
at Translator->Symfony\Component\Translation\{closure}(object(ResourceCheckerConfigCache))
in ResourceCheckerConfigCacheFactory.php line 43
at ResourceCheckerConfigCacheFactory->cache('/home/sebastie/public_html/site.sebgovape.fr/var/cache/dev/translations/catalogue.fr-FR.L8dqxxF.php', object(Closure))
in Translator.php line 300
at Translator->initializeCacheCatalogue('fr-FR')
in Translator.php line 265
at Translator->loadCatalogue('fr-FR')
in Translator.php line 241
at Translator->getCatalogue('fr-FR')
in Translator.php line 198
at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)
in PrestaShopTranslatorTrait.php line 57
at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)
in LoggingTranslator.php line 48
at LoggingTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)
in DataCollectorTranslator.php line 50
at DataCollectorTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)
in PrestaShopTranslatorTrait.php line 57
at DataCollectorTranslator->trans('Successful deletion.', array(), 'Admin.Notifications.Success', null)
in Controller.php line 324
at ControllerCore->trans('Successful deletion.', array('legacy' => 'htmlspecialchars'), 'Admin.Notifications.Success')
in AdminController.php line 466
at AdminControllerCore->__construct()
in LegacyContext.php line 85
at LegacyContext->getContext()
in UserLocaleListener.php line 39
at UserLocaleListener->__construct(object(LegacyContext))
in appDevDebugProjectContainer.php line 2428
at appDevDebugProjectContainer->getPrestashop_UserLocale_ListenerService()
in appDevDebugProjectContainer.php line 2915
at appDevDebugProjectContainer->ContainerLhicwe2\{closure}()
in EventDispatcher.php line 229
at EventDispatcher->sortListeners('kernel.request')
in EventDispatcher.php line 61
at EventDispatcher->getListeners('kernel.request')
in ContainerAwareEventDispatcher.php line 128
at ContainerAwareEventDispatcher->getListeners('kernel.request')
in TraceableEventDispatcher.php line 262
at TraceableEventDispatcher->preProcess('kernel.request')
in TraceableEventDispatcher.php line 137
at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
in HttpKernel.php line 127
at HttpKernel->handleRaw(object(Request), 1)
in HttpKernel.php line 68
at HttpKernel->handle(object(Request), 1, false)
in Kernel.php line 200
at Kernel->handle(object(Request), 1, false)
in index.php line 86

 

J'espère avoir une réponse, pour pouvoir résoudre ce problème rapidement.

Je vous remercie par avance de votre aide.

Cordialement Sébastien

 

 

SebastienGo

SebastienGo

Bonjour

 

Je viens vers vous pour savoir se que je peux faire suite a une erreur 500, a vrai dire un CMS qu'avec des erreur 500

 

Voici le message Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

et cette erreur reviens tout le temps, en sachant que ma version de PHP c'est le 7.3 (Donc la dernière version supporter par prestashop.

 

(1/1) 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/sebastie/public_html/site.sebgovape.fr/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php', 2636, array('class' => 'Doctrine\\ORM\\UnitOfWork', 'e' => 32767, 'file' => '/home/sebastie/public_html/site.sebgovape.fr/vendor/composer/../doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php'))
in DebugClassLoader.php line 156
at require()
in DebugClassLoader.php line 156
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 1858
at appDevDebugProjectContainer->getDoctrine_Orm_DefaultEntityManagerService()
in getPrestashop_Translation_DatabaseLoaderService.php line 8
at require('/home/sebastie/public_html/site.sebgovape.fr/var/cache/dev/ContainerLhicwe2/getPrestashop_Translation_DatabaseLoaderService.php')
in appDevDebugProjectContainer.php line 1747
at appDevDebugProjectContainer->load('getPrestashop_Translation_DatabaseLoaderService.php')
in appDevDebugProjectContainer.php line 3782
at appDevDebugProjectContainer->ContainerLhicwe2\{closure}()
in ServiceLocator.php line 64
at ServiceLocator->get('prestashop.translation.database_loader')
in Translator.php line 141
at Translator->initialize()
in Translator.php line 127
at Translator->initializeCatalogue('fr-FR')
in Translator.php line 314
at Translator->dumpCatalogue('fr-FR', object(ResourceCheckerConfigCache))
in Translator.php line 299
at Translator->Symfony\Component\Translation\{closure}(object(ResourceCheckerConfigCache))
in ResourceCheckerConfigCacheFactory.php line 43
at ResourceCheckerConfigCacheFactory->cache('/home/sebastie/public_html/site.sebgovape.fr/var/cache/dev/translations/catalogue.fr-FR.L8dqxxF.php', object(Closure))
in Translator.php line 300
at Translator->initializeCacheCatalogue('fr-FR')
in Translator.php line 265
at Translator->loadCatalogue('fr-FR')
in Translator.php line 241
at Translator->getCatalogue('fr-FR')
in Translator.php line 198
at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)
in PrestaShopTranslatorTrait.php line 57
at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)
in LoggingTranslator.php line 48
at LoggingTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)
in DataCollectorTranslator.php line 50
at DataCollectorTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)
in PrestaShopTranslatorTrait.php line 57
at DataCollectorTranslator->trans('Successful deletion.', array(), 'Admin.Notifications.Success', null)
in Controller.php line 324
at ControllerCore->trans('Successful deletion.', array('legacy' => 'htmlspecialchars'), 'Admin.Notifications.Success')
in AdminController.php line 466
at AdminControllerCore->__construct()
in LegacyContext.php line 85
at LegacyContext->getContext()
in UserLocaleListener.php line 39
at UserLocaleListener->__construct(object(LegacyContext))
in appDevDebugProjectContainer.php line 2428
at appDevDebugProjectContainer->getPrestashop_UserLocale_ListenerService()
in appDevDebugProjectContainer.php line 2915
at appDevDebugProjectContainer->ContainerLhicwe2\{closure}()
in EventDispatcher.php line 229
at EventDispatcher->sortListeners('kernel.request')
in EventDispatcher.php line 61
at EventDispatcher->getListeners('kernel.request')
in ContainerAwareEventDispatcher.php line 128
at ContainerAwareEventDispatcher->getListeners('kernel.request')
in TraceableEventDispatcher.php line 262
at TraceableEventDispatcher->preProcess('kernel.request')
in TraceableEventDispatcher.php line 137
at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
in HttpKernel.php line 127
at HttpKernel->handleRaw(object(Request), 1)
in HttpKernel.php line 68
at HttpKernel->handle(object(Request), 1, false)
in Kernel.php line 200
at Kernel->handle(object(Request), 1, false)
in index.php line 86

 

J'espère avoir une réponse, pour pouvoir résoudre ce problème rapidement.

Je vous remercie par avance de votre aide.

Cordialement Sébastien

 

 

SebastienGo

SebastienGo

Bonjour

 

Je viens vers vous pour savoir se que je peux faire suite a une erreur 500, a vrai dire un CMS qu'avec des erreur 500

 

Voici le message Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?

et cette erreur reviens tout le temps, en sachant que ma version de PHP c'est le 7.3 (Donc la dernière version supporter par prestashop.

 

(1/1) 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/sebastie/public_html/site.sebgovape.fr/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php', 2636, array('class' => 'Doctrine\\ORM\\UnitOfWork', 'e' => 32767, 'file' => '/home/sebastie/public_html/site.sebgovape.fr/vendor/composer/../doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php'))
in DebugClassLoader.php line 156
at require()
in DebugClassLoader.php line 156
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 1858
at appDevDebugProjectContainer->getDoctrine_Orm_DefaultEntityManagerService()
in getPrestashop_Translation_DatabaseLoaderService.php line 8
at require('/home/sebastie/public_html/site.sebgovape.fr/var/cache/dev/ContainerLhicwe2/getPrestashop_Translation_DatabaseLoaderService.php')
in appDevDebugProjectContainer.php line 1747
at appDevDebugProjectContainer->load('getPrestashop_Translation_DatabaseLoaderService.php')
in appDevDebugProjectContainer.php line 3782
at appDevDebugProjectContainer->ContainerLhicwe2\{closure}()
in ServiceLocator.php line 64
at ServiceLocator->get('prestashop.translation.database_loader')
in Translator.php line 141
at Translator->initialize()
in Translator.php line 127
at Translator->initializeCatalogue('fr-FR')
in Translator.php line 314
at Translator->dumpCatalogue('fr-FR', object(ResourceCheckerConfigCache))
in Translator.php line 299
at Translator->Symfony\Component\Translation\{closure}(object(ResourceCheckerConfigCache))
in ResourceCheckerConfigCacheFactory.php line 43
at ResourceCheckerConfigCacheFactory->cache('/home/sebastie/public_html/site.sebgovape.fr/var/cache/dev/translations/catalogue.fr-FR.L8dqxxF.php', object(Closure))
in Translator.php line 300
at Translator->initializeCacheCatalogue('fr-FR')
in Translator.php line 265
at Translator->loadCatalogue('fr-FR')
in Translator.php line 241
at Translator->getCatalogue('fr-FR')
in Translator.php line 198
at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)
in PrestaShopTranslatorTrait.php line 57
at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)
in LoggingTranslator.php line 48
at LoggingTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)
in DataCollectorTranslator.php line 50
at DataCollectorTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)
in PrestaShopTranslatorTrait.php line 57
at DataCollectorTranslator->trans('Successful deletion.', array(), 'Admin.Notifications.Success', null)
in Controller.php line 324
at ControllerCore->trans('Successful deletion.', array('legacy' => 'htmlspecialchars'), 'Admin.Notifications.Success')
in AdminController.php line 466
at AdminControllerCore->__construct()
in LegacyContext.php line 85
at LegacyContext->getContext()
in UserLocaleListener.php line 39
at UserLocaleListener->__construct(object(LegacyContext))
in appDevDebugProjectContainer.php line 2428
at appDevDebugProjectContainer->getPrestashop_UserLocale_ListenerService()
in appDevDebugProjectContainer.php line 2915
at appDevDebugProjectContainer->ContainerLhicwe2\{closure}()
in EventDispatcher.php line 229
at EventDispatcher->sortListeners('kernel.request')
in EventDispatcher.php line 61
at EventDispatcher->getListeners('kernel.request')
in ContainerAwareEventDispatcher.php line 128
at ContainerAwareEventDispatcher->getListeners('kernel.request')
in TraceableEventDispatcher.php line 262
at TraceableEventDispatcher->preProcess('kernel.request')
in TraceableEventDispatcher.php line 137
at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))
in HttpKernel.php line 127
at HttpKernel->handleRaw(object(Request), 1)
in HttpKernel.php line 68
at HttpKernel->handle(object(Request), 1, false)
in Kernel.php line 200
at Kernel->handle(object(Request), 1, false)
in index.php line 86

 

J'espère avoir une réponse, pour pouvoir résoudre ce problème rapidement.

Je vous remercie par avance de votre aide.

Cordialement Sébastien

 

 

×
×
  • Create New...