Sonia L Posted April 3, 2020 Share Posted April 3, 2020 Buenas tardes, Tengo la versión 1.7.6.4 y acabo de detectar que al acceder a clientes - saldo pendiente por cobrar, me aparece un error 500. Recientemente he hecho dos actualizaciones y no se en que momento empezó a fallar. Creo que me puede faltar alguna tabla en la base de datos pero no se el nombre de la tabla. Me podéis ayudar? Gracias. Link to comment Share on other sites More sharing options...
juanrojas Posted April 3, 2020 Share Posted April 3, 2020 hola activa el modo debug y muestra que te dice Link to comment Share on other sites More sharing options...
Sonia L Posted April 4, 2020 Author Share Posted April 4, 2020 Hola Juan, Gracias por ayudarme. Lo acabo de activar, me dice esto: (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"?', '/homepages/12/d707574249/htdocs/clickandbuilds/PrestaShop/Druilabs/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php', 2636, array('class' => 'Doctrine\\ORM\\UnitOfWork', 'e' => 32767, 'file' => '/homepages/12/d707574249/htdocs/clickandbuilds/PrestaShop/Druilabs/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 1824 at appDevDebugProjectContainer->getDoctrine_Orm_DefaultEntityManagerService()in getPrestashop_Translation_DatabaseLoaderService.php line 8 at require('/homepages/12/d707574249/htdocs/clickandbuilds/PrestaShop/Druilabs/var/cache/dev/Container4tv0n2z/getPrestashop_Translation_DatabaseLoaderService.php')in appDevDebugProjectContainer.php line 1713 at appDevDebugProjectContainer->load('getPrestashop_Translation_DatabaseLoaderService.php')in appDevDebugProjectContainer.php line 3748 at appDevDebugProjectContainer->Container4tv0n2z\{closure}()in ServiceLocator.php line 64 at ServiceLocator->get('prestashop.translation.database_loader')in Translator.php line 141 at Translator->initialize()in Translator.php line 127 at Translator->initializeCatalogue('es-ES')in Translator.php line 314 at Translator->dumpCatalogue('es-ES', object(ResourceCheckerConfigCache))in Translator.php line 299 at Translator->Symfony\Component\Translation\{closure}(object(ResourceCheckerConfigCache))in ResourceCheckerConfigCacheFactory.php line 43 at ResourceCheckerConfigCacheFactory->cache('/homepages/12/d707574249/htdocs/clickandbuilds/PrestaShop/Druilabs/var/cache/dev/translations/catalogue.es-ES.L8dqxxF.php', object(Closure))in Translator.php line 300 at Translator->initializeCacheCatalogue('es-ES')in Translator.php line 265 at Translator->loadCatalogue('es-ES')in Translator.php line 241 at Translator->getCatalogue('es-ES')in Translator.php line 198 at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in PrestaShopTranslatorTrait.php line 57 at Translator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in LoggingTranslator.php line 48 at LoggingTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in DataCollectorTranslator.php line 50 at DataCollectorTranslator->trans('Successful deletion.', array(), 'AdminNotificationsSuccess', null)in PrestaShopTranslatorTrait.php line 57 at DataCollectorTranslator->trans('Successful deletion.', array(), 'Admin.Notifications.Success', null)in Controller.php line 324 at ControllerCore->trans('Successful deletion.', array('legacy' => 'htmlspecialchars'), 'Admin.Notifications.Success')in AdminController.php line 466 at AdminControllerCore->__construct()in LegacyContext.php line 85 at LegacyContext->getContext()in UserLocaleListener.php line 39 at UserLocaleListener->__construct(object(LegacyContext))in appDevDebugProjectContainer.php line 2394 at appDevDebugProjectContainer->getPrestashop_UserLocale_ListenerService()in appDevDebugProjectContainer.php line 2881 at appDevDebugProjectContainer->Container4tv0n2z\{closure}()in EventDispatcher.php line 229 at EventDispatcher->sortListeners('kernel.request')in EventDispatcher.php line 61 at EventDispatcher->getListeners('kernel.request')in ContainerAwareEventDispatcher.php line 128 at ContainerAwareEventDispatcher->getListeners('kernel.request')in TraceableEventDispatcher.php line 262 at TraceableEventDispatcher->preProcess('kernel.request')in TraceableEventDispatcher.php line 137 at TraceableEventDispatcher->dispatch('kernel.request', object(GetResponseEvent))in HttpKernel.php line 127 at HttpKernel->handleRaw(object(Request), 1)in HttpKernel.php line 68 at HttpKernel->handle(object(Request), 1, false)in Kernel.php line 200 at Kernel->handle(object(Request), 1, false)in index.php line 86 Link to comment Share on other sites More sharing options...
juanrojas Posted April 4, 2020 Share Posted April 4, 2020 que actualizaciones hiciste? Link to comment Share on other sites More sharing options...
Sonia L Posted April 4, 2020 Author Share Posted April 4, 2020 El 20-02-2020 actualice prestashop de la versión 1.7.5.1 a la versión 1.7.6.3 En esta actualización ya me fallaba el acceso a saldo pendiente por cobrar. Y también me fallaba el acceso a clientes y a carritos de compra, y es que me habían desaparecido las tablas de la base de datos. Y el 01-04-2020 actualice de la 1.7.6.3 a la 1.7.6.4 a ver si me solucionaban sos errores,y no se me soluciono ninguno. Me di cuenta de que me faltaban las tablas de la base de datos de clientes y de carritos de compra, y las cree, (3 tablas de connections y 1 tabla de guest) y se me soluciono. Puedo acceder desde el back-office a la pestaña de clientes y de carritos de compra sin error. Pero lo del saldo pendiente de cobrar no se como solucionarlo. Gracias. 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