Post by umy1234 » Mon May 01, 2023 3:15 pm

i have an opencart Version 2.0.1.1. Recently i noticed this problem in all my product pages
Unknown: round(): Passing null to parameter #1 ($num) of type int|float is deprecated in /home/ /www/vqmod/vqcache/vq2-catalog_model_catalog_product.php on line 45

can somebody help me to get rid of this problem?

Newbie

Posts

Joined
Sun May 01, 2016 11:55 am

Post by Johnathan » Mon May 01, 2023 8:38 pm

This is likely coming from a vQmod you have installed. Look for one that affects this file:

/catalog/model/catalog/product.php

Image Image Image Image Image


User avatar
Administrator

Posts

Joined
Fri Dec 18, 2009 3:08 am


Post by ADD Creative » Mon May 01, 2023 9:10 pm

What PHP version?

Could be this if 8 or above.
https://github.com/opencart/opencart/co ... 11f1bc3a1d

www.add-creative.co.uk


Guru Member

Posts

Joined
Sat Jan 14, 2012 1:02 am
Location - United Kingdom
Who is online

Users browsing this forum: No registered users and 50 guests