Fatal error: Uncaught mysqli_sql_exception: 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 c.type = 1' at line 1 in /data/b/a/baf59062-1868-47c5-ba78-70107cf6cc30/pouzima.sk/web/controlers/pagecontroller.php:10
Stack trace:
#0 /data/b/a/baf59062-1868-47c5-ba78-70107cf6cc30/pouzima.sk/web/controlers/pagecontroller.php(10): mysqli_query(Object(mysqli), 'SELECT * FROM c...')
#1 /data/b/a/baf59062-1868-47c5-ba78-70107cf6cc30/pouzima.sk/web/index.php(28): include_once('/data/b/a/baf59...')
#2 {main}
thrown in /data/b/a/baf59062-1868-47c5-ba78-70107cf6cc30/pouzima.sk/web/controlers/pagecontroller.php on line 10