Warning: Undefined variable $category_id in /home/icububoc/www/dhg.ch/core/funkcije.php on line 40

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 'ORDER BY project_id' at line 1 in /home/icububoc/www/dhg.ch/core/db_crud.php:20 Stack trace: #0 /home/icububoc/www/dhg.ch/core/db_crud.php(20): PDOStatement->execute() #1 /home/icububoc/www/dhg.ch/core/funkcije.php(42): Crud->read() #2 /home/icububoc/www/dhg.ch/galerija.php(4): get_page('projects', 'category', 'dhg-hotels-appa...', 'slug', 'dietikon-zh-1', 'project_id') #3 {main} thrown in /home/icububoc/www/dhg.ch/core/db_crud.php on line 20