Warning: Attempt to read property "id" on bool in /home/firmarehberiname/public_html/kategoriler2.php on line 16
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 'and status=1' at line 1 in /home/firmarehberiname/public_html/_class/class.php:20
Stack trace:
#0 /home/firmarehberiname/public_html/_class/class.php(20): PDO->query('SELECT COUNT(*)...')
#1 /home/firmarehberiname/public_html/_class/class.php(30): DB::query('SELECT COUNT(*)...', NULL)
#2 /home/firmarehberiname/public_html/kategoriler2.php(16): DB::getVar('SELECT COUNT(*)...')
#3 {main}
thrown in /home/firmarehberiname/public_html/_class/class.php on line 20