ableier Posted May 29, 2019 Share Posted May 29, 2019 Suddenly I have a fatal error when adding an additional discount to an order in the back office. I'm not sure what has happened as I've never had an issue before. (1/1) ContextErrorException Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in UnitOfWork.php line 2636at ErrorHandler->handleError(2, '"continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"?', '/home3/fmgwebco/public_html/howardhanna/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php', 2636, array('class' => 'Doctrine\\ORM\\UnitOfWork', 'e' => 32767, 'file' => '/home3/fmgwebco/public_html/howardhanna/vendor/composer/../doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php', 'wasCached' => false))in DebugClassLoader.php line 144at require()in DebugClassLoader.php line 144at DebugClassLoader->loadClass('Doctrine\\ORM\\UnitOfWork')at spl_autoload_call('Doctrine\\ORM\\UnitOfWork')in EntityManager.php line 160at EntityManager->__construct(object(Connection), object(Configuration), object(ContainerAwareEventManager))in EntityManager.php line 850at EntityManager::create(object(Connection), object(Configuration))in appDevDebugProjectContainer.php line 1311at appDevDebugProjectContainer->getDoctrine_Orm_DefaultEntityManagerService()in Container.php line 306at Container->get('doctrine.orm.default_entity_manager')in ManagerRegistry.php line 48at ManagerRegistry->getService('doctrine.orm.default_entity_manager')in AbstractManagerRegistry.php line 231at AbstractManagerRegistry->getManagers()in ProxyCacheWarmer.php line 49at ProxyCacheWarmer->warmUp('/home3/fmgwebco/public_html/howardhanna/var/cache/dev')in CacheWarmerAggregate.php line 52at CacheWarmerAggregate->warmUp('/home3/fmgwebco/public_html/howardhanna/var/cache/dev')in Kernel.php line 680at Kernel->initializeContainer()in Kernel.php line 135at Kernel->boot()in Kernel.php line 195at Kernel->handle(object(Request), 1, false)in index.php line 88 Any help or insight would be greatly appreciated. Link to comment Share on other sites More sharing options...
ableier Posted June 7, 2019 Author Share Posted June 7, 2019 Anyone able to help? Thanks. Link to comment Share on other sites More sharing options...
kulagin Posted October 2, 2019 Share Posted October 2, 2019 If this problem actuality now. You can try will change version PHP to 7.1 1 Link to comment Share on other sites More sharing options...
wiros Posted March 24, 2022 Share Posted March 24, 2022 Same issue in PS 1.7.7.1. Did someone found a solution? Link to comment Share on other sites More sharing options...
knacky Posted March 24, 2022 Share Posted March 24, 2022 Prestashop 1.7.7.x supports PHP versions 7.1 to 7.3. PHP 7.3 is the recommended version. You need to change the PHP version on your web hosting. https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/ 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