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 'LIMIT 1' at line 1 in /www/hosting/ascendentclinic.cz/www/application/models/Db.php:47
Stack trace:
#0 /www/hosting/ascendentclinic.cz/www/application/models/Db.php(47): PDO->prepare()
#1 /www/hosting/ascendentclinic.cz/www/application/models/BaseModel.php(63): Db::fetch()
#2 /www/hosting/ascendentclinic.cz/www/application/controllers/AdminController.php(19): BaseModel->find()
#3 /www/hosting/ascendentclinic.cz/www/application/controllers/BaseController.php(57): AdminController->init()
#4 /www/hosting/ascendentclinic.cz/www/application/controllers/RouterController.php(71): BaseController->process()
#5 /www/hosting/ascendentclinic.cz/www/application/controllers/BaseController.php(59): RouterController->indexAction()
#6 /www/hosting/ascendentclinic.cz/www/index.php(52): BaseController->process()
#7 in /www/hosting/ascendentclinic.cz/www/application/models/Db.php on line 47