Fatal error: Uncaught PDOException: 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 'ORDER BY RAND()' at line 4 in /web/htdocs/www.costantinomoto.it/home/class/Connection.php:47
Stack trace:
#0 /web/htdocs/www.costantinomoto.it/home/class/Connection.php(47): PDOStatement->execute()
#1 /web/htdocs/www.costantinomoto.it/home/class/db/GenericDB.php(348): Connection->executeQuery()
#2 /web/htdocs/www.costantinomoto.it/home/class/Generic.php(405): GenericDB->_getVista()
#3 /web/htdocs/www.costantinomoto.it/home/ultime-news-dettagli.php(70): Generic->getVista()
#4 {main}
thrown in /web/htdocs/www.costantinomoto.it/home/class/Connection.php on line 47