Post by fallakhussain » Sun Oct 18, 2020 2:12 am

Hi guys,

opencart version : 2.0.3.1
php version :7.4.5

I got this error on checkout page:

Code: Select all

Trying to access array offset on value of type bool in /customers/8/5/7/[DOMAIN WAS HERE REMOVED FOR SECURITY PURPOSE]/httpd.www/system/modification/catalog/controller/module/featured.php on line 62
--------------
code in line "62" is :

Code: Select all

				$review_total = $this->model_catalog_review->getTotalReviewsByProductId($product_info['product_id']);
-------------

This is impacting a live website as it's showing the error on homepage.

Newbie

Posts

Joined
Sun Oct 18, 2020 2:05 am

Post by xxvirusxx » Sun Oct 18, 2020 2:49 pm

There is no $review_total in catalog/controller/module/featured.php
So that modification is made by an vqmod extension...

OC 2.3.0.2 | OC 3.0.3.6 | Extensions converted by me | Buy me a beer


User avatar
Expert Member

Posts

Joined
Tue Jul 17, 2012 10:35 pm
Location - România

Post by straightlight » Sun Oct 18, 2020 7:50 pm

Why is this posted in the Cloud Support section ? !

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.


Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 28 guests