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 '-25, 25' at line 1 in /home/thecasino/public_html/includes/class.db.php:54
Stack trace:
#0 /home/thecasino/public_html/includes/class.db.php(54): PDO->query('SELECT slug, ad...')
#1 /home/thecasino/public_html/includes/class.db.php(174): db::query('SELECT slug, ad...', NULL)
#2 /home/thecasino/public_html/public/inc/__head.data.php(46): db::get('blog', NULL, NULL, Array)
#3 /home/thecasino/public_html/public/index.php(4): include('/home/thecasino...')
#4 /home/thecasino/public_html/index.php(25): include('/home/thecasino...')
#5 /home/thecasino/public_html/includes/class.router.php(44): {closure}()
#6 /home/thecasino/public_html/index.php(26): route::in('/blog', Object(Closure))
#7 {main}
thrown in /home/thecasino/public_html/includes/class.db.php on line 54