Notice: Undefined variable: i in /home/corretorajv/www/app/imprimir.php on line 189

Notice: Trying to get property 'item_categoria' of non-object in /home/corretorajv/www/app/imprimir.php on line 202

Notice: Trying to get property 'item_tipo' of non-object in /home/corretorajv/www/app/imprimir.php on line 202
Array ( [0] => 42000 [1] => 1064 [2] => You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'and item_tipo = and item_id <> 624 GROUP BY item_id order by item_pos asc' at line 1 )