Notice: Undefined offset: 0 in /web/htdocs/ on line 31

Warning: PDO::query(): SQLSTATE[42000]: Syntax error or access violation: 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 prodotti.id_prod' at line 7 in /web/htdocs/ on line 856

Fatal error: Uncaught Error: Call to a member function rowCount() on boolean in /web/htdocs/ Stack trace: #0 {main} thrown in /web/htdocs/ on line 143