Warning: A non-numeric value encountered in /home/snamaa/public_html/libraries/Model.php on line 149
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 '-1, '1'' at line 1 in /home/snamaa/public_html/libraries/Database.php:95
Stack trace:
#0 /home/snamaa/public_html/libraries/Database.php(95): PDOStatement->execute()
#1 /home/snamaa/public_html/libraries/Database.php(103): Database->excute()
#2 /home/snamaa/public_html/libraries/Model.php(152): Database->resultSet()
#3 /home/snamaa/public_html/app/models/Article.php(38): Model->get('*', Array, 'show', '1')
#4 /home/snamaa/public_html/app/controllers/Articles.php(26): Article->getArticles('show', '1')
#5 /home/snamaa/public_html/libraries/Core.php(58): Articles->index('show', '1')
#6 /home/snamaa/public_html/public/index.php(24): Core->__construct()
#7 {main}
thrown in /home/snamaa/public_html/libraries/Database.php on line 95