Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'b.yayinda' in 'WHERE' in /home/anaokullar/domains/anaokullari.tr/public_html/includes/db.php:96
Stack trace:
#0 /home/anaokullar/domains/anaokullari.tr/public_html/includes/db.php(96): PDO->prepare()
#1 /home/anaokullar/domains/anaokullari.tr/public_html/includes/db.php(132): Database->query()
#2 /home/anaokullar/domains/anaokullari.tr/public_html/blog.php(22): Database->fetchScalar()
#3 {main}
Next RuntimeException: SQL Hatası: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'b.yayinda' in 'WHERE'
SQL: SELECT COUNT(*) FROM blog_yazilari b
LEFT JOIN blog_kategoriler bk ON b.kategori_id=bk.id
WHERE b.yayinda=1
Params: [] in /home/anaokullar/domains/anaokullari.tr/public_html/includes/db.php:261
Stack trace:
#0 /home/anaokullar/domains/anaokullari.tr/public_html/includes/db.php(100): Database->handleQueryError()
#1 /home/anaokullar/domains/anaokullari.tr/public_html/includes/db.php(132): Database->query()
#2 /home/anaokullar/domains/anaokullari.tr/public_html/blog.php(22): Database->fetchScalar()
#3 {main}
thrown in /home/anaokullar/domains/anaokullari.tr/public_html/includes/db.php on line 261