Hi
I hope to find help with error. Please let me know what file to edit?
I have updated to PHP version: 7.4.3
Opencart Ver 2.3.0.2
I getting a lot of those two errors:
2021-04-05 19:15:53 - PHP Notice: Trying to access array offset on value of type bool in /var/www/MYDOMAIN/vqmod/vqcache/vq2-system_storage_modification_catalog_controller_product_product.php on line 194
2021-04-05 19:15:53 - PHP Notice: Trying to access array offset on value of type bool in /var/www/ MYDOMAIN /vqmod/vqcache/vq2-system_storage_modification_catalog_controller_product_product.php on line 195
This is my lines 193, 194, and 195
$data['product_info'] = $product_info;
$data['weight'] = $this->weight->format($product_info['weight'], $product_info['weight_class_id']);
$data['dimensions'] = $this->length->format($product_info['height'], $product_info['length_class_id']);
Those lines are added by an extension. You need to work out what extension is adding them.
You need to at least add in if statements for the case where the query returns no results. More accurately you need to check if these array offsets exist when using them.
myprepaidcenter card
myprepaidcenter card
Who is online
Users browsing this forum: FazalFariz and 145 guests