Estas viendo las jornadas
object(mysqli_sql_exception)#210 (8) {
["message":protected]=>
string(148) "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 '' at line 8"
["string":"Exception":private]=>
string(0) ""
["file":protected]=>
string(65) "/var/www/vhosts/eligemenu.es/httpdocs/admin/daos/restaurantes.php"
["line":protected]=>
int(1735)
["trace":"Exception":private]=>
array(3) {
[0]=>
array(5) {
["file"]=>
string(65) "/var/www/vhosts/eligemenu.es/httpdocs/admin/daos/restaurantes.php"
["line"]=>
int(1735)
["function"]=>
string(5) "query"
["class"]=>
string(6) "mysqli"
["type"]=>
string(2) "->"
}
[1]=>
array(5) {
["file"]=>
string(66) "/var/www/vhosts/eligemenu.es/httpdocs/blocks/header_restaurant.php"
["line"]=>
int(54)
["function"]=>
string(19) "getFichaRestaurante"
["class"]=>
string(11) "Restaurante"
["type"]=>
string(2) "->"
}
[2]=>
array(4) {
["file"]=>
string(53) "/var/www/vhosts/eligemenu.es/httpdocs/restaurante.php"
["line"]=>
int(10)
["args"]=>
array(1) {
[0]=>
string(66) "/var/www/vhosts/eligemenu.es/httpdocs/blocks/header_restaurant.php"
}
["function"]=>
string(12) "include_once"
}
}
["previous":"Exception":private]=>
NULL
["code":protected]=>
int(1064)
["sqlstate":protected]=>
string(5) "42000"
}