Array ( [0] => Array ( [file] => /var/www/vhosts/algarve-travel-car.com/httpdocs/includes/libreria.php [line] => 40 [function] => dbQuery [args] => Array ( [0] => SELECT * FROM metas WHERE idPagina= [1] => 1 ) ) [1] => Array ( [file] => /var/www/vhosts/algarve-travel-car.com/httpdocs/index.php [line] => 24 [function] => cargaMetas [args] => Array ( [0] => ) ) ) You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 11