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 ') AND id != "4786" ORDER BY id DESC LIMIT 4' at line 1 in /home/433kora/public_html/init.php:178
Stack trace:
#0 /home/433kora/public_html/init.php(178): PDO->query('SELECT * FROM n...')
#1 /home/433kora/public_html/blog.php(23): getAllFrom('*', 'news', 'WHERE status=1 ...', 'ORDER BY id DES...')
#2 /home/433kora/public_html/index.php(76): include('/home/433kora/p...')
#3 {main}
thrown in /home/433kora/public_html/init.php on line 178