Within this script, it gives the following error:
Fatal error: Unsupported operand types in C: \ EasyPHP-DevServer-14.1VC11 \ data \ localweb \ Administer \ application \ views \ holerites \ holerites.php online 126
if($r->totalProvento==NULL){
#total a receber
$totalProvento = "0.00";
$totalDesconto = "0.00";
$totalReceber = "0.00";
} else {
#total a receber
----> 126 - $totalProvento = $r->totalProvento->totalProvento + $r->salario;
$totalDesconto = $r->totalDesconto->totalDesconto;
$totalReceber = $totalProvento - $totalDesconto;
}