When I import the property xml it does the account according to the criteria. One of the criteria is the price, the most expensive ones appear first, for this I divided the value of the price by 10 million and adds the result in his ranking.
Ex: Real estate with 1500 + rating (price of 10,000,000 / 10,000,000) = 1501
But when I do this, it crashes the import and gives this error:
Error Unsupported operand types on line 332
What is the line where the if of the code ends:
if ($tipo==Venda){
$ordem = $ordem + $preco/10000000;
}
Does anyone know what might be happening?