Topic: A non well formed numeric value encountered rep102.php
Sales -> Aged Customer Analysis is firing this error
line 207 of rep102.php should be:
$trans[$i] = (float)$trans[$i] * $rate;
It's much more fun, when you can discuss your problems with others...
You are not logged in. Please login or register.
FrontAccounting forum → Report Bugs here → A non well formed numeric value encountered rep102.php
Sales -> Aged Customer Analysis is firing this error
line 207 of rep102.php should be:
$trans[$i] = (float)$trans[$i] * $rate;
This might be a specific case of the $trans[$i] being an integer and the $rate being a (float).
@joe: This can be committed.
Thanks @notrinos,
Will commit this in a while.
Joe
The same problem should be there in line 214 of rep202.php as well.
@apmuthu,
But is the bug reported for line 214 when go_debug is set to 2? In php 7.2?
Not in my environment. We will only fix shown warnings/bugs, right?
This has been committed to repo. File /reporting/rep102.php can be downloaded here.
Joe
@notrinos, kindly check rep202.php as well. I do not have the later PHP versions at the moment to test.
yes, rep202.php line 214 need the same commit as well
Sorry Guys, of course you are right.
This has been committed to repo. The new /reporting/rep202.php can be downloaded here.
/Joe
FrontAccounting forum → Report Bugs here → A non well formed numeric value encountered rep102.php
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 4 official extensions. Copyright © 2003–2009 PunBB.