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 MariaDB server version for the right syntax to use near 'then 0 else 1 end, post_created LIMIT 20 OFFSET 0' at line 1 in /var/www/web30/pub/sources/forum/sys/CODOF/Forum/Post.php:60 Stack trace: #0 /var/www/web30/pub/sources/forum/sys/CODOF/Forum/Post.php(60): PDO->query('SELECT u.id, r....') #1 /var/www/web30/pub/sources/forum/sys/Controller/Ajax/forum/topic.php(87): CODOF\Forum\Post->get_posts(1445, 0) #2 /var/www/web30/pub/sources/forum/sys/Controller/forum.php(467): Controller\Ajax\forum\topic->get_posts(1445, 0, Array) #3 /var/www/web30/pub/sources/forum/routes.php(938): Controller\forum->topic(1445, 1) #4 /var/www/web30/pub/sources/forum/sys/Ext/limonade/limonade.php(429): {closure}('1445', 'gutscheincodes', 1) #5 /var/www/web30/pub/sources/forum/sys/CODOF/Access/Request.php(94): run() #6 /var/www/web30/pub/sources/forum/routes.php(1003): CODOF\Ac in /var/www/web30/pub/sources/forum/sys/CODOF/Forum/Post.php on line 60