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 'FROM role WHERE' at line 1 in /home/etz/etz.nichost.ru/system/src/FluentPDO/BaseQuery.php:118
Stack trace:
#0 /home/etz/etz.nichost.ru/system/src/FluentPDO/BaseQuery.php(118): PDOStatement->execute(Array)
#1 /home/etz/etz.nichost.ru/system/modules/user/models/Role.php(25): FluentPDO\BaseQuery->execute()
#2 /home/etz/etz.nichost.ru/system/modules/user/models/User.php(578): modules\user\models\Role::findByName('guest')
#3 /home/etz/etz.nichost.ru/system/modules/user/models/User.php(588): modules\user\models\User::getGuest()
#4 /home/etz/etz.nichost.ru/system/modules/user/models/User.php(567): modules\user\models\User::guestLogin()
#5 /home/etz/etz.nichost.ru/system/core/App.php(90): modules\user\models\User::current()
#6 /home/etz/etz.nichost.ru/system/core/App.php(217): core\App->__get('user')
#7 /ho in /home/etz/etz.nichost.ru/system/src/FluentPDO/BaseQuery.php on line 118