On line 1125 you have:
$rspricetable->getColumnVal('price') = number_format($number, 2, ',', '.');
In mySQL values from the database were returned in an array directly. The MySQLi implementation we created uses a function to return the value. This means you can't set the function value directly like this code attempts to.
The solution is to use a variable to change and display the value, so your code on lines 1122-1132 is:
<td>
<?php $number = $rspricetable->getColumnVal('price');
if ( $_SESSION['languageID'] == "1" ) {
$rspricetable->getColumnVal('price') = number_format($number, 2, ',', '.');
}
?><?php if ($_SESSION['mylocation'] == 'not_canada') { ?><?php echo $rspricetable->getColumnVal('price'); ?>
<?php $number = $rspricetable->getColumnVal('price_can');
if ( $_SESSION['languageID'] == "1" ) {
$rspricetable->getColumnVal('price_can') = number_format($number, 2, ',', '.');
}
?><?php } else if ($_SESSION['mylocation'] == 'canada') { ?><?php echo $rspricetable->getColumnVal('price_can'); ?><?php } ?></td>
It needs to be changed to:
<td>
<?php $number = $rspricetable->getColumnVal('price');
if ( $_SESSION['languageID'] == "1" ) {
$number = number_format($number, 2, ',', '.');
}
?><?php if ($_SESSION['mylocation'] == 'not_canada') { ?><?php echo $number; ?>
<?php $number = $rspricetable->getColumnVal('price_can');
if ( $_SESSION['languageID'] == "1" ) {
$number = number_format($number, 2, ',', '.');
}
?><?php } else if ($_SESSION['mylocation'] == 'canada') { ?><?php echo $number; ?><?php } ?></td>