ChristopherP Posted December 27, 2019 Share Posted December 27, 2019 Tengo un problema desde hace poco con los productos y es que una vez creado haga los cambios que haga y guarde o me da error de no se puede actualizar la configuración o directame me deja guardarlo, vuelvo a productos, entro en el producto y está como si no se hubieran hecho los cambios. He probado a borrar la caché y nada, forzar compilación y tampoco... Link to comment Share on other sites More sharing options...
gusman126 Posted December 28, 2019 Share Posted December 28, 2019 Creo que es un problema de la versión , actualiza a la 1.7.6.2 Link to comment Share on other sites More sharing options...
ChristopherP Posted December 29, 2019 Author Share Posted December 29, 2019 7 hours ago, gusman126 said: Creo que es un problema de la versión , actualiza a la 1.7.6.2 No sabía que había actualización, actualizando si no se soluciona intento lo del chico de arriba, 1-click upgrade tarda mucho verdad? Link to comment Share on other sites More sharing options...
ChristopherP Posted December 29, 2019 Author Share Posted December 29, 2019 (edited) On 12/27/2019 at 8:35 PM, Gerardo Martinez G said: activa el modo depuracion de la tienda... y si aun no te marca el error este error lo pondra en el archivo dev.log, trata de limpiar todo el archivo, ya que por lo regular te ha almacenado todos lo errores antiguos... {your html_public}/var/logs/dev.log Esto es lo que ha salido al darle modo depuración y guardar (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"?', '/usr/home/mundoguppy/www/vendor/doctrine/orm/lib/Doctrine/ORM/UnitOfWork.php', 2636, array('class' => 'Doctrine\\ORM\\UnitOfWork', 'e' => 32767, 'file' => '/usr/home/mundoguppy/www/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 1811 at appDevDebugProjectContainer->getDoctrine_Orm_DefaultEntityManagerService() in getPrestashop_Translation_DatabaseLoaderService.php line 8 at require('/usr/home/mundoguppy/www/var/cache/dev/Container9rdqmyy/getPrestashop_Translation_DatabaseLoaderService.php') in appDevDebugProjectContainer.php line 1707 at appDevDebugProjectContainer->load('getPrestashop_Translation_DatabaseLoaderService.php') in appDevDebugProjectContainer.php line 3726 at appDevDebugProjectContainer->Container9rdqmyy\{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('/usr/home/mundoguppy/www/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 459 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 2381 at appDevDebugProjectContainer->getPrestashop_UserLocale_ListenerService() in appDevDebugProjectContainer.php line 2868 at appDevDebugProjectContainer->Container9rdqmyy\{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 Comentar que también actualicé a 1.7.6.2 y sigue pasando lo mismo, me sale el mensaje de que se ha guardado pero no se guarda porque cuando vuelvo a entrar al producto sigue el mismo precio antes de editarlo Edited December 29, 2019 by ChristopherP (see edit history) Link to comment Share on other sites More sharing options...
ChristopherP Posted December 30, 2019 Author Share Posted December 30, 2019 He comprobado que desde el back office, producto (cualquiera) el apartado precio lo que modifique y guarde no se guarda, pero desde importar .csv si me actualiza cualquier dato del apartado precio y se guarda Link to comment Share on other sites More sharing options...
gusman126 Posted December 30, 2019 Share Posted December 30, 2019 Pues todo indica que hay algún módulo que está haciendo que de error al guardar y no finalice . Comprueba en books los módulos que están en algún hook "product" sobre todo save o update. Haz captura y pon aqui Link to comment Share on other sites More sharing options...
msarmiento Posted December 30, 2019 Share Posted December 30, 2019 has actualizado la versión? pienso que puede ser un tema más de actualización. También elimina la cache en app/cahe/dev y app/cache/prod 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