These are just crazy!
To solve a big mistake in the generation of calls to functions with ‘repeated’ parts make it one that BLOCKS COMPLETELY WORK!
Before the error was
$this->ajax->genera$this->ristampa because there is a ‘generaristampa’ function,
now generates incorrectly if the personal function has a php function!
round(dm_myfunc(), 2)
for
$arr[“diskspacedoc”] = round((dm_sizefolders([pAbsDoc], “B”) / 1024), 2);
Now generate:
$arr[“diskspacedoc”] = round((dm_sizefolders($this->sc_temp_pathsys_company, “B”) / 1024/1024), 2);
if I put the space between round and the name of the function is ok! (round(( dm_sizefolders([pAbsDoc], “B”)/1024), 2)
$arr[“diskspacedoc”] = round(($this->dm_sizefolders($this->sc_temp_pAbsDoc, “B”)/1024/1024), 2);
if there is no php function it’s ok! ($arr[“diskspacedoc”] = dm_sizefolders([pAbsDoc], “B”)
$arr[“nrfilesimg”] = $this->dm_sizefolders($this->sc_temp_pAbsImg, “N”);
The error can happen to everyone, but make an update and DO NOT PERFORMING the tests in its various functions is untrustworthy, incapable, inconclusive and … because it puts at risk the work of others, hundreds of developers and thousands of customers!
Enrico Ferretti