ExceptionSQL rencontrée : Erreur SQL !

Requête = SELECT profondeur FROM rubrique WHERE id=

Erreur retournée : 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 1
Code d'exception 201 : erreur SQL de type SELECT.

Localisation de l'erreur :
#0 /var/www/vhosts/centre-vitrail.org/httpdocs/inc/lib/class.rubrique.php(170): SQL->queryLine('SELECT profonde...')
#1 /var/www/vhosts/centre-vitrail.org/httpdocs/inc/lib/class.rubrique.php(177): Rubrique::getIdPremierNiveau(NULL)
#2 /var/www/vhosts/centre-vitrail.org/httpdocs/inc.espaces.php(118): Rubrique::getIdPremierNiveau('671')
#3 /var/www/vhosts/centre-vitrail.org/httpdocs/header.php(20): require_once('/var/www/vhosts...')
#4 /var/www/vhosts/centre-vitrail.org/httpdocs/rubriques.php(19): require_once('/var/www/vhosts...')
#5 {main}