Notice: Trying to access array offset on value of type bool in /usr/www/users/faktox/coolstyle-parts/post-sql.php on line 100

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 MySQL server version for the right syntax to use near 'AND a.status = 'Objavljen' AND <> 7322 ' at line 11 in /usr/www/users/faktox/coolstyle-parts/post-sql.php:145 Stack trace: #0 /usr/www/users/faktox/coolstyle-parts/post-sql.php(145): PDO->prepare('SELECT as ...') #1 /usr/www/users/faktox/coolstyle-post.php(5): require_once('/usr/www/users/...') #2 {main} thrown in /usr/www/users/faktox/coolstyle-parts/post-sql.php on line 145