Just came across a few error logs generated only in the last 2 days, don't think I did anything different to the live site so not sure why they just started generating or if I should be concerned?!
I'm running 1.5.7c on PHP 7.4 with OPC installed on responsive classic template.
Searched everywhere and couldn't find anything other than this github link from torvista but I'm not sure what needs to be done?! https://github.com/zencart/zencart/issues/2894
Here is the full error log (I merged them together):
Code:
[27-Sep-2021 08:05:33 Australia/Sydney] Request URI: /index.php?main_page=shopping_cart&action=update_product, IP address: 106.00.00.00
#1 shoppingCart->in_cart_product_mixed_changed() called at [/includes/classes/shopping_cart.php:1731]
#2 shoppingCart->actionUpdateProduct() called at [/includes/main_cart_actions.php:37]
#3 require(/includes/main_cart_actions.php) called at [/includes/init_includes/init_cart_handler.php:44]
#4 require_once(/includes/init_includes/init_cart_handler.php) called at [/includes/autoload_func.php:37]
#5 require(/includes/autoload_func.php) called at [/includes/application_top.php:222]
#6 require(/includes/application_top.php) called at [/index.php:25]
--> PHP Notice: Undefined offset: 68 in /includes/classes/shopping_cart.php on line 2556.
--> PHP Notice: Undefined offset: 66 in /includes/classes/shopping_cart.php on line 2555.
--> PHP Notice: Undefined offset: 38 in /includes/classes/shopping_cart.php on line 1737.
--> PHP Notice: Undefined offset: 14 in /includes/classes/shopping_cart.php on line 2555.
--> PHP Notice: Undefined offset: 14 in /includes/classes/shopping_cart.php on line 2556.
Below is the corresponding lines:
Code:
$changed_array = array(
'state'=>false,
'changed' => $product_changed,
Line 2555: 'total_change' => $product_total_change[$pr_id],
Line 2556: 'last_changed' => $product_last_changed[$pr_id],
'increase' => $product_increase,
'decrease' => $product_decrease,
);
Bookmarks