Warning: Undefined array key "rid" in /home/bywylre/www/blog.php on line 6

Warning: Undefined array key "page" in /home/bywylre/www/blog.php on line 7

Fatal error: Uncaught mysqli_sql_exception: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-5, 5' at line 2 in /home/bywylre/www/include/db_mysqli.php:107 Stack trace: #0 /home/bywylre/www/include/db_mysqli.php(107): mysqli->query('select *\n\t\t\t\t\t ...') #1 /home/bywylre/www/include/db_mysqli.php(213): DBConnMySQLI->query('select *\n\t\t\t\t\t ...', true) #2 /home/bywylre/www/include/sql.php(456): DBConnMySQLI->select('*', 'posts', false, 'order by p_id d...') #3 /home/bywylre/www/include/sql.php(482): SQLObject->_charge(Object(DBConnMySQLI), '*', 'posts', false, 'order by p_id d...') #4 /home/bywylre/www/include/classes.php(210): SQLObject->getCustomPage(Object(DBConnMySQLI), false, 0, 5, 'order by p_id d...', 'id', false) #5 /home/bywylre/www/blog.php(12): Post::getPage(0, 0) #6 {main} thrown in /home/bywylre/www/include/db_mysqli.php on line 107