Notice: Undefined property: App\Controllers\BaiesBlog::$category in /srv/data/web/vhosts/ on line 67

Warning: Invalid argument supplied for foreach() in /srv/data/web/vhosts/ on line 67

Notice: Undefined variable: idCategory in /srv/data/web/vhosts/ on line 72

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 ')' at line 1' in /srv/data/web/vhosts/ Stack trace: #0 /srv/data/web/vhosts/ PDO->query('SELECT count(id...') #1 /srv/data/web/vhosts/ Core\Database\MysqlDatabase->query('SELECT count(id...', 'Core\\Entity', true) #2 /srv/data/web/vhosts/ Core\Database\Mysql->query('SELECT count(id...', Array, true) #3 /srv/data/web/vhosts/ Core\Models\Blog\Article->count(Array) #4 /srv/data/web/vhosts/ App\Controllers\BaiesBlo in /srv/data/web/vhosts/ on line 117