We offer professional Design/Code Customisation and Website Optimisation Service Request Customisation

Promokit HelpdeskAlysum AMP theme

  • Status: Waiting on customer

Ticket #13231 - How to solve this problem?

If the predetermined product has 0 in quantity, it does not allow to buy any of the combinations (even if these do have available)

Captura1.PNG (87.6 KiB)
Captura2.PNG (31.6 KiB)

This ticket does not depend on any other tickets.

ANTONIO ALTUR BOSCH (bosch23) 13 Nov 2018, 15:55

In debuger appears:

ContextErrorException in customproducttabs.php line 1071:
Warning: Invalid argument supplied for foreach()
in customproducttabs.php line 1071
at ErrorHandler→handleError('2', 'Invalid argument supplied for foreach()', '/home/scandalshop/public_html/modules/customproducttabs/customproducttabs.php', '1071', array('params' ⇒ array('id_product' ⇒ '233', 'product' ⇒ object(Product), 'cookie' ⇒ object(Cookie), 'cart' ⇒ null, 'altern' ⇒ '1'), 'langs' ⇒ array(array('id_lang' ⇒ '3', 'name' ⇒ 'Español (Spanish)', 'is_default' ⇒ '1', 'iso_code' ⇒ 'es')), 'product_id' ⇒ '233', 'availableTabs' ⇒ false)) in customproducttabs.php line 1071
at Customproducttabs→hookActionProductUpdate(array('id_product' ⇒ '233', 'product' ⇒ object(Product), 'cookie' ⇒ object(Cookie), 'cart' ⇒ null, 'altern' ⇒ '1')) in Hook.php line 924
at HookCore::coreCallHook(object(Customproducttabs), 'hookactionProductUpdate', array('id_product' ⇒ '233', 'product' ⇒ object(Product), 'cookie' ⇒ object(Cookie), 'cart' ⇒ null, 'altern' ⇒ '1')) in Hook.php line 328
at HookCore::callHookOn(object(Customproducttabs), 'actionProductUpdate', array('id_product' ⇒ '233', 'product' ⇒ object(Product), 'cookie' ⇒ object(Cookie), 'cart' ⇒ null, 'altern' ⇒ '1')) in Hook.php line 860
at HookCore::exec('actionProductUpdate', array('id_product' ⇒ '233', 'product' ⇒ object(Product), 'cookie' ⇒ object(Cookie), 'cart' ⇒ null, 'altern' ⇒ '1')) in Product.php line 636
at ProductCore→update() in AdminProductDataUpdater.php line 80
at AdminProductDataUpdater→activateProductIdList(array('233')) in ProductController.php line 863
at ProductController→unitAction('activate', '233')
at call_user_func_array(array(object(ProductController), 'unitAction'), array('activate', '233')) in bootstrap.php.cache line 3253
at HttpKernel→handleRaw(object(Request), '1') in bootstrap.php.cache line 3212
at HttpKernel→handle(object(Request), '1', false) in bootstrap.php.cache line 3366
at ContainerAwareHttpKernel→handle(object(Request), '1', false) in bootstrap.php.cache line 2566
at Kernel→handle(object(Request), '1', false) in index.php line 86

We disabled the module but the problem remains.

Marek (marek) 14 Nov 2018, 10:10

The issue with CustomTab module has been fixed. As for the first issue, please give me a link to that product

Loading...