Notice: Undefined offset: 0 in /var/www/release/mecsektea/public/controllers/CMSController.php on line 54

Notice: Undefined index: id in /var/www/release/mecsektea/public/controllers/CMSController.php on line 58

Notice: Undefined index: id in /var/www/release/mecsektea/public/controllers/CMSController.php on line 61

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 '' at line 1 in /var/www/release/mecsektea/public/vendor/db.php:49 Stack trace: #0 /var/www/release/mecsektea/public/vendor/db.php(49): PDOStatement->execute(Array) #1 /var/www/release/mecsektea/public/models/CMS.php(13): Db->query_safe('SELECT * FROM c...', Array, 'ASSOC') #2 /var/www/release/mecsektea/public/controllers/CMSController.php(61): CMS::list(Object(Page), 'rolunk', 'id != ') #3 /var/www/release/mecsektea/public/controllers/CMSController.php(13): CMSController->actionDetails() #4 /var/www/release/mecsektea/public/web/index.php(20): CMSController->actionRouter() #5 {main} thrown in /var/www/release/mecsektea/public/vendor/db.php on line 49