Fatal error: Uncaught exception 'MysqlException' with message 'Query: SELECT t1.id_macchina, t1.nome_macchina AS m FROM macchine AS t1 LEFT JOIN macchine_documenti AS t3 ON t1.id_macchina = t3.id_obj WHERE t1.id_macchina = t3.id_obj AND t1.id_produttore = GROUP BY t1.id_macchina Errore: 1064 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 'GROUP BY t1.id_macchina' at line 5' in /var/www/vhosts/bramac.it/httpdocs/lib/core/model/class.Mysql.php:119 Stack trace: #0 /var/www/vhosts/bramac.it/httpdocs/lib/module/macchine/controller/class.Controller_macchine.php(280): Mysql->getresult('\n\t S...') #1 /var/www/vhosts/bramac.it/httpdocs/lib/class.Bw.php(417): Controller_macchine->productDocumentAction() #2 /var/www/vhosts/bramac.it/httpdocs/index.php(47): Bw->start() #3 {main} thrown in /var/www/vhosts/bramac.it/httpdocs/lib/core/model/class.Mysql.php on line 119