Edwardvenus Posted September 4, 2020 Share Posted September 4, 2020 hi, i hit an error, and i turned on debug mode. next it shows this. i cant visit my admin page anymore, please help. This issue happen when i install a free theme from FTP, then theme and logo, whenever i visit, it will brings me " The server returned a "500 Internal Server Error" " turn debug mode from performance setting. below shows. (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"?', '/home2/betaocul/public_html/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php', 2636, array('class' => 'Doctrine\\ORM\\UnitOfWork', 'e' => 32767, 'file' => '/home2/betaocul/public_html/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 1826 at appDevDebugProjectContainer->getDoctrine_Orm_DefaultEntityManagerService() in Container.php line 306 at Container->get('doctrine.orm.default_entity_manager') in ManagerRegistry.php line 48 at ManagerRegistry->getService('doctrine.orm.default_entity_manager') in AbstractManagerRegistry.php line 231 at AbstractManagerRegistry->getManagers() in ProxyCacheWarmer.php line 49 at ProxyCacheWarmer->warmUp('/home2/betaocul/public_html/var/cache/dev') in CacheWarmerAggregate.php line 52 at CacheWarmerAggregate->warmUp('/home2/betaocul/public_html/var/cache/dev') in Kernel.php line 680 at Kernel->initializeContainer() in Kernel.php line 135 at Kernel->boot() in Kernel.php line 195 at Kernel->handle(object(Request), 1, false) in index.php line 86 Link to comment Share on other sites More sharing options...
solsol69 Posted September 4, 2020 Share Posted September 4, 2020 Try whith PHP 7.2 https://devdocs.prestashop.com/1.7/basics/installation/system-requirements/#php-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