Jump to content

Fatal Error Additional Discount in Admin

Recommended Posts

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.

Share this post

Link to post
Share on other sites

If this problem actuality now. 
You can try will change version PHP to 7.1

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.

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