Page 1 of 1

PHP problem ...

Posted: Sat Mar 29, 2025 6:17 pm
by it@dinoel.com
Hi, I need some help :-(

OpenCart 2.2
PHP 7.3
Defaut theme
Installed Extension(s) NO
nstalled Translation(s) NO
Used Browser: Chrome, last version, addblocker: YES
cloudflare: No

When I select sort by manufacturer and go to the last product, then I want to jump to the first one, this happens. For every manufacturer, it happens:

Warning: A non-numeric value encountered in /home/dinoel/public_html/vqmod/vqcache/vq2-
catalog_controller_product_manufacturer.php on line 190Warning: A non-numeric value encountered in
/home/dinoel/public_html/vqmod/vqcache/vq2-catalog_controller_product_manufacturer.php on line
374Warning: A non-numeric value encountered in /home/dinoel/public_html/vqmod/vqcache/vq2-
catalog_controller_product_manufacturer.php on line 374Warning: A non-numeric value encountered in
/home/dinoel/public_html/vqmod/vqcache/vq2-catalog_controller_product_manufacturer.php on line
374Warning: A non-numeric value encountered in /home/dinoel/public_html/vqmod/vqcache/vq2-
catalog_controller_product_manufacturer.php on line 382Warning: A non-numeric value encountered in
/home/dinoel/public_html/vqmod/vqcache/vq2-catalog_controller_product_manufacturer.php on line 386

Re: PHP problem ...

Posted: Sat Mar 29, 2025 6:29 pm
by OSWorX
it@dinoel.com wrote:
Sat Mar 29, 2025 6:17 pm
Hi, I need some help ..
We also .. unless you can provide some details, nobody will be able to help you here.
Please read the Forum Rules before proceeding.

Re: PHP problem ...

Posted: Mon Mar 31, 2025 5:56 pm
by paulfeakins
it@dinoel.com wrote:
Sat Mar 29, 2025 6:17 pm
OpenCart 2.2
Well OpenCart versions don't work like that, so absolutely no idea where you got that from.

Re: PHP problem ...

Posted: Mon Mar 31, 2025 7:05 pm
by OSWorX
it@dinoel.com wrote:
Sat Mar 29, 2025 6:17 pm
OpenCart 2.2
Wrong, OpenCart has always 3 numbers, like 2.2.1 or 2.2.2 etc. ..
And here it's very important, because there were massive changes with those versions!
it@dinoel.com wrote:
Sat Mar 29, 2025 6:17 pm
Installed Extension(s) NO
And again: wrong!
Why?
Because with those lines we can see, that you are using VQMod (which IS an extension) and another extension, otherwise the manufacturer controller files would not be touched:
When I select sort by manufacturer and go to the last product, then I want to jump to the first one, this happens. For every manufacturer, it happens:

Warning: A non-numeric value encountered in /home/dinoel/public_html/vqmod/vqcache/vq2-
catalog_controller_product_manufacturer.php on line 190Warning: A non-numeric value encountered in
/home/dinoel/public_html/vqmod/vqcache/vq2-catalog_controller_product_manufacturer.php on line
374

etc ...
So please, provide exact details and - maybe - someone here is able to help you.

As first action, disable all additional extensions and report then back.
How you can do that?
Search this forum here ..

Re: PHP problem ...

Posted: Tue Apr 01, 2025 3:19 am
by Cue4cheap
it@dinoel.com wrote:
Sat Mar 29, 2025 6:17 pm
Installed Extension(s) NO
Warning: A non-numeric value encountered in /home/dinoel/public_html/vqmod/vqcache/vq2-
catalog_controller_product_manufacturer.php on line 190Warning: A non-numeric value encountered in
/home/dinoel/public_html/vqmod/vqcache/vq2-catalog_controller_product_manufacturer.php on line
374
Says it there. you do have some extension installed. A VQMod one. So installed extension answer is actually "Yes".
Find the one that is adjusting catalog/controller/product/manufacturer.php and you have a little insight what is going on.

Mike

Re: PHP problem ...

Posted: Tue Apr 01, 2025 7:32 pm
by JNeuhoff
OSWorX wrote:
Mon Mar 31, 2025 7:05 pm
Wrong, OpenCart has always 3 numbers, like 2.2.1 or 2.2.2 etc. ..
Actually, the version consists of 4 numbers, e.g. 2.3.0.3, 2.2.0.0 etc

Re: PHP problem ...

Posted: Tue Apr 01, 2025 10:06 pm
by OSWorX
JNeuhoff wrote:
Tue Apr 01, 2025 7:32 pm
OSWorX wrote:
Mon Mar 31, 2025 7:05 pm
Wrong, OpenCart has always 3 numbers, like 2.2.1 or 2.2.2 etc. ..
Actually, the version consists of 4 numbers, e.g. 2.3.0.3, 2.2.0.0 etc
Sorry, my fault .. (too tired after a long day work) - is has always 4 numbers.