PDO error!

                SELECT *
                FROM fra_sit_object_critere_interne
                JOIN fra_sit_critere_interne ON fra_sit_object_critere_interne.critere_interne_id = fra_sit_critere_interne.critere_interne_id
                WHERE 1 AND object_id = 

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 4

    #0 /var/www/vhosts/saintfrancoislongchamp.com/httpdocs/wp-content/noe/noephp/framework/DB.class.php(119): NOE\Error::throwException('PDO error! <br ...', 'sql', 'https://www.sai...')
#1 /var/www/vhosts/saintfrancoislongchamp.com/httpdocs/wp-content/noe/noephp/abstract/ADbCollection.class.php(183): NOE\DB->query('??             ...')
#2 /var/www/vhosts/saintfrancoislongchamp.com/httpdocs/wp-content/noe/noephp/abstract/ADbCollection.class.php(59): NOE\ADbCollection->getDbRecords(NULL, NULL, NULL, NULL, Array, '')
#3 /var/www/vhosts/saintfrancoislongchamp.com/httpdocs/wp-content/modules/noesit/noesitcore/classes/sitobject/models/Sitobject.class.php(289): NOE\ADbCollection->fetch(NULL, NULL, NULL, NULL, Array)
#4 /var/www/vhosts/saintfrancoislongchamp.com/httpdocs/wp-content/modules/noesit/noesitcore/classes/sitobject/models/Sitobject.class.php(595): NOE\SIT\Sitobject->__construct('<%=item.url%>', true, NULL, NULL, '2')
#5 /var/www/vhosts/saintfrancoislongchamp.com/httpdocs/wp-content/modules/noesit/controllers/NoesitFrontendController.class.php(935): NOE\SIT\Sitobject->loadFromCache(Object(NoewpLang))
#6 /var/www/vhosts/saintfrancoislongchamp.com/httpdocs/wp-content/modules/noesit/controllers/NoesitFrontendController.class.php(60): NOE\WP\NoesitFrontendController->fiche()
#7 /var/www/vhosts/saintfrancoislongchamp.com/httpdocs/wp-content/noe/noewpcore/classes/modules/NoewpModelInit.class.php(87): NOE\WP\NoesitFrontendController->dispatch()
#8 /var/www/vhosts/saintfrancoislongchamp.com/httpdocs/wp-content/noe/noewpcore/classes/modules/NoewpModules.class.php(446): NOE\WP\NoewpModelInit->load(Array)
#9 /var/www/vhosts/saintfrancoislongchamp.com/httpdocs/wp-content/themes/_sfl/t_moduleFO.php(43): NoewpModules::loadModuleFO(Array, Array)
#10 /var/www/vhosts/saintfrancoislongchamp.com/httpdocs/wp-includes/template-loader.php(77): include('/var/www/vhosts...')
#11 /var/www/vhosts/saintfrancoislongchamp.com/httpdocs/wp-blog-header.php(19): require_once('/var/www/vhosts...')
#12 /var/www/vhosts/saintfrancoislongchamp.com/httpdocs/index.php(17): require('/var/www/vhosts...')
#13 {main}