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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

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