Se il vostro sito o il vostro applicativo in php restituisce questo errore significa che php e’ stato compilato senza il modulo bcmath() –enable-bcmath , nelle versioni di php per windows bcdiv() è presente di default:
In questo snip ecco un sostituto per bcdiv():
//$totalPage=bcdiv($a , $b, 0);
//alternative method
$res = $a/$b;
$position = strpos ($res, ".");
$totalPage = substr($res, [...]
















