Fatal error: Uncaught exception 'Exception' with message 'Error in getAll()
SELECT `1_news`.`ID_URL` AS `url_categoria`, `1_news`.`titolo` AS `titolo_categoria`, `2_news`.* FROM `1_news` LEFT JOIN `2_news` ON(`1_news`.`ID_COUNT` = `2_news`.`ID_LIV_SUP` AND `1_news`.`ID_LINGUA` = `2_news`.`ID_LINGUA`) WHERE `1_news`.`CESTINO` = 'No' AND `1_news`.`attivo` = 'Si' AND `1_news`.`ID_LINGUA` = '1' AND `1_news`.`ID_URL` ' '' AND ((2_news.data_inizio<='2017-08-23' OR 2_news.data_inizio='0000-00-00') AND (2_news.data_fine>='2017-08-23' OR 2_news.data_fine='0000-00-00')) AND `2_news`.`CESTINO` = 'No' AND `2_news`.`attivo` = 'Si' GROUP BY `2_news`.`ID_COUNT` ORDER BY `2_news`.`data` DESC
DB Error: syntax error' in /home/www/www.pasubio.it/www/lib/workup_class.php:172 Stack trace: #0 /home/www/www.pasubio.it/www/functions.php(427): workup_class->getAll('SELECT `1_news...') #1 /home/www/www.pasubio.it/www/source/news-dettaglio.php(4): get_elenco_news_by_cat('' data[i].url_...') #2 {main} thrown in /home/www/www.pasubio.it/www/lib/workup_class.php on line 172