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 '-30' at line 7 in /home/twiok/public_html/index.php:28
Stack trace:
#0 /home/twiok/public_html/index.php(28): mysqli->query('SELECT posts.*,...')
#1 {main}
thrown in /home/twiok/public_html/index.php on line 28