Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'Malley' group by jokes.id' at line 1 in /data03/virt10216/domeenid/www.score.ee/functions.php:8
Stack trace:
#0 /data03/virt10216/domeenid/www.score.ee/functions.php(8): mysqli->query('select jokes.si...')
#1 /data03/virt10216/domeenid/www.score.ee/htdocs/Class/Database.class.php(111): Mysql_Query('select jokes.si...', NULL)
#2 /data03/virt10216/domeenid/www.score.ee/htdocs/Class/UI.class.php(676): Database->dbQuery('select jokes.si...')
#3 /data03/virt10216/domeenid/www.score.ee/htdocs/Pages/Jokes.module.php(177): UI->genPageSystem('select jokes.si...', 10, 3000)
#4 /data03/virt10216/domeenid/www.score.ee/htdocs/main.php(107): include('/data03/virt102...')
#5 {main}
thrown in /data03/virt10216/domeenid/www.score.ee/functions.php on line 8