News:

Support the VirtueMart project and become a member

Main Menu

A non well formed numeric value encountered

Started by yrygvay, September 06, 2017, 13:24:26 PM

Previous topic - Next topic

yrygvay

Hi. Use Joomla 3.7.5, VM 3.2.4, PHP 7.1.8. I see this warning:

Notice: A non well formed numeric value encountered in /home/web/reff.pro/public_html/administrator/components/com_virtuemart/models/product.php on line 835

Notice: A non well formed numeric value encountered in /home/web/reff.pro/public_html/administrator/components/com_virtuemart/models/product.php on line 836


how to fix it, or hide?

Studio 42

You can Disable php debug in Joomla config>system tab.

yrygvay


jenkinhill

Kelvyn
Lowestoft, Suffolk, UK

Retired from forum life November 2023

Please mention your VirtueMart, Joomla and PHP versions when asking a question in this forum

Studio 42

Please do the screenshot in english.
DEBUG in screenshot is certainly Joomla debug and not PHP Debug
For PHP debug, it's a select list and can be set to "none".

yrygvay

Thank you, helped off the display errors in the tab Server

Milbo

It would be still nice to understand the problems with these lines


$rest = $suglimit%$category->products_per_row;
$limit = $suglimit - $rest;


Set the vmdebug to admin and add above the $rest =.... vmdebug('product model suggested limited and so on',$suglimit,$category->products_per_row); and then tell us the result.
Should I fix your bug, please support the VirtueMart project and become a member
______________________________________
Extensions approved by the core team: http://extensions.virtuemart.net/