Fatal error: Uncaught exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 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 '-24,12' at line 1' in /home3/sayehsa5/public_html/admin/includes/functions.php:926
Stack trace:
#0 /home3/sayehsa5/public_html/admin/includes/functions.php(926): PDOStatement->execute()
#1 /home3/sayehsa5/public_html/categories.php(108): SelectPostByCategory('8')
#2 {main}
thrown in /home3/sayehsa5/public_html/admin/includes/functions.php on line 926