Bonjour,
sous chrome j'ai une InvalidArgumentException in ProductSaleElements.php line 113:
Either 'id', 'product', 'ref', 'search_term/search_in' argument should be present
Cela empeche de mettre dans le panier alors que ca passe avec Firefox.
Je pense à une table qui n'est pas conforme. Je vais investiguer cet après-midi mais si quelqu'un a une piste ...
Merci
le debug :
in ProductSaleElements.php line 113
at ProductSaleElements->buildModelCriteria() in BaseLoop.php line 512
at BaseLoop->exec(null) in TheliaLoop.php line 156
at TheliaLoop->theliaLoop(array('type' => 'product_sale_elements', 'name' => 'product_price', 'id' => ''), null, object(Smarty_Internal_Template), true) in smarty_internal_templatebase.php(157) : eval()'d code line 76
at content_5e5a40cf890734_00616695(object(Smarty_Internal_Template)) in smarty_internal_templatebase.php line 188
at Smarty_Internal_TemplateBase->fetch('file:includes/addedToCart.html') in SmartyParser.php line 381
at SmartyParser->internalRenderer('file', 'includes/addedToCart.html', array('locale' => 'fr_FR', 'lang_code' => 'fr', 'lang_id' => '1', 'current_url' => 'https://www.xxx.fr/index_dev.php/ajax/a … ct_id=3385', 'app' => object(stdClass)), true) in SmartyParser.php line 424
at SmartyParser->render('includes/addedToCart.html') in ViewListener.php line 78
at ViewListener->onKernelView(object(GetResponseForControllerResultEvent), 'kernel.view', object(ContainerAwareEventDispatcher))
at call_user_func(array(object(ViewListener), 'onKernelView'), object(GetResponseForControllerResultEvent), 'kernel.view', object(ContainerAwareEventDispatcher)) in EventDispatcher.php line 181
at EventDispatcher->doDispatch(array(array(object(ViewListener), 'beforeKernelView'), array(object(ViewListener), 'onKernelView')), 'kernel.view', object(GetResponseForControllerResultEvent)) in EventDispatcher.php line 46
at EventDispatcher->dispatch('kernel.view', object(GetResponseForControllerResultEvent)) in HttpKernel.php line 144
at HttpKernel->handleRaw(object(Request), '1') in HttpKernel.php line 62
at HttpKernel->handle(object(Request), '1', true) in TheliaHttpKernel.php line 76
at TheliaHttpKernel->handle(object(Request), '1', true) in ParamInitMiddleware.php line 87
at ParamInitMiddleware->handle(object(Request), '1', true) in SessionMiddleware.php line 80
at SessionMiddleware->handle(object(Request), '1', true) in StackedHttpKernel.php line 23
at StackedHttpKernel->handle(object(Request), '1', true) in Kernel.php line 185
at Kernel->handle(object(Request)) in index_dev.php line 37
Last edited by cloubech (14-03-2020 10:45:53)