Antonashop Posted February 18, 2020 Share Posted February 18, 2020 Buongiorno, Utilizzo PS 1.7.5.0. Da ieri, senza aver apportato alcuna modifica, mi appare questo errore ogni tal volta che apro la sezione moduli dal mio BO: Oops! An Error Occurred The server returned a "500 Internal Server Error". Something is broken. Please let us know what you were doing when this error occurred. We will fix it as soon as possible. Sorry for any inconvenience caused. Attivando la mod debug, questo è l'errore generato: Whoops, looks like something went wrong. 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"?', '/homepages/21/d772921695/htdocs/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php', 2636, array('file' => '/homepages/21/d772921695/htdocs/vendor/composer/../doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php')) in ClassLoader.php line 444 at include( ) in ClassLoader.php line 444 at Composer\Autoload\includeFile( '/homepages/21/d772921695/htdocs/vendor/composer/../doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php') in ClassLoader.php line 322 at ClassLoader -> loadClass( 'Doctrine\\ORM\\UnitOfWork') in DebugClassLoader.php line 151 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 1327 at appDevDebugProjectContainer -> getDoctrine_Orm_DefaultEntityManagerService( ) in appDevDebugProjectContainer.php line 1413 at appDevDebugProjectContainer -> getPrestashop_Adapter_DataProvider_ModuleService( ) in appDevDebugProjectContainer.php line 1757 at appDevDebugProjectContainer -> getPrestashop_Twig_Extension_HookService( ) in appDevDebugProjectContainer.php line 1968 at appDevDebugProjectContainer -> getTwigService( ) in appDevDebugProjectContainer.php line 1852 at appDevDebugProjectContainer -> getProfilerService( ) in appDevDebugProjectContainer.php line 2854 at appDevDebugProjectContainer -> getProfilerListenerService( ) in appDevDebugProjectContainer.php line 2371 at appDevDebugProjectContainer -> ContainerEo2kx20\{closure}( ) in EventDispatcher.php line 145 at EventDispatcher -> removeListener( 'kernel.exception', array(object(ExceptionListener), 'onKernelException')) in ContainerAwareEventDispatcher.php line 96 at ContainerAwareEventDispatcher -> removeListener( 'kernel.exception', array(object(ExceptionListener), 'onKernelException')) in TraceableEventDispatcher.php line 76 at TraceableEventDispatcher -> removeListener( 'kernel.exception', array(object(ExceptionListener), 'onKernelException')) in ExceptionListener.php line 82 (1/1) ContextErrorException Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? at ExceptionListener -> unregister( object(TraceableEventDispatcher)) in Firewall.php line 92 at Firewall -> onKernelFinishRequest( object(FinishRequestEvent)) in FirewallListener.php line 57 at FirewallListener -> onKernelFinishRequest( object(FinishRequestEvent), 'kernel.finish_request', object(TraceableEventDispatcher)) in WrappedListener.php line 111 at WrappedListener -> __invoke( object(FinishRequestEvent), 'kernel.finish_request', object(ContainerAwareEventDispatcher)) in EventDispatcher.php line 212 at EventDispatcher -> doDispatch( array(object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener), object(WrappedListener)), 'kernel.finish_request', object(FinishRequestEvent)) in EventDispatcher.php line 44 at EventDispatcher -> dispatch( 'kernel.finish_request', object(FinishRequestEvent)) in TraceableEventDispatcher.php line 139 at TraceableEventDispatcher -> dispatch( 'kernel.finish_request', object(FinishRequestEvent)) in HttpKernel.php line 210 at HttpKernel -> finishRequest( object(Request), 1) in HttpKernel.php line 74 at HttpKernel -> handle( object(Request), 1, false) in Kernel.php line 200 at Kernel -> handle( object(Request), 1, false) in index.php line 88 (1/1) ContextErrorException Non ho idea di che problema sia e di come risolverlo attualmente, consigli? Link to comment Share on other sites More sharing options...
ziobudda Posted February 18, 2020 Share Posted February 18, 2020 Ciao, è la versione di PHP. Prova con php 7.2 e se persiste vai di php 7.1 M. Link to comment Share on other sites More sharing options...
Antonashop Posted February 18, 2020 Author Share Posted February 18, 2020 Ciao, la versione era la 7.2 non posso provare la 7.1 perchè il mio host la ritiene obsoleta ed a pagamento ._. non so che fare 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