Ошибка 500. Ошибка приложения

something

В файле: /var/www/x1db-php/library/X1/Db/Adapter/Pgsql.php:83

Трассировка:

#0 /var/www/x1db-php/library/X1/Db/Adapter.php(102): X1\Db\Adapter\Pgsql->connect()
#1 /var/www/x1db-php/library/X1/Db/Adapter/Pgsql.php(126): X1\Db\Adapter->query('select * from "...', NULL)
#2 /var/www/x1db-php/library/X1/Meta/MetaDao.php(94): X1\Db\Adapter\Pgsql->fetchAll('select * from "...', NULL, 5)
#3 /var/www/x1db-php/library/X1/Meta/MetaDao.php(75): X1\Meta\MetaDao->getProjects()
#4 /var/www/x1db-php/library/X1/DI/Provider/MetaProvider.php(123): X1\Meta\MetaDao->getProject(NULL)
#5 /var/www/x1db-php/library/X1/DI/Provider/MetaProvider.php(103): X1\DI\Provider\MetaProvider->getProject()
#6 /var/www/x1db-php/library/X1/DI/Provider/MetaProvider.php(135): X1\DI\Provider\MetaProvider->getAu()
#7 [internal function]: X1\DI\Provider\MetaProvider->getDao('dao.schools', NULL)
#8 /var/www/x1db-php/library/X1/DI/Provider/AbstractProvider.php(105): call_user_func(Array, 'dao.schools', NULL)
#9 /var/www/x1db-php/library/X1/DI/Injector.php(90): X1\DI\Provider\AbstractProvider->getInstance('ssc.dao.schools', NULL)
#10 /var/www/x1db-php/library/X1/DI.php(63): X1\DI\Injector->getInstance('ssc.dao.schools', NULL)
#11 /var/www/x1db-php/webapps/pskovedu/service/OrgsUslugi.php(21): X1\DI::get('ssc.dao.schools')
#12 /var/www/x1db-php/webapps/pskovedu/service/Orgs.php(324): edu\Service\OrgsUslugi->uslugi('29', true)
#13 /var/www/x1db-php/webapps/pskovedu/widget/OpenData.php(35): edu\Service\Orgs->getOrgInfo('29', 'uslugi', true)
#14 /var/www/x1db-php/webapps/pskovedu/widget/OpenData.php(13): Edu\Widget\OpenData->renderContent(Array)
#15 /var/www/x1db-php/library/X1/MVC/Control.php(98): Edu\Widget\OpenData->showAction()
#16 /var/www/x1db-php/library/X1/MVC/Widget.php(49): X1\MVC\Control->tryAction('showAction')
#17 /var/www/x1db-php/library/X1/MVC/Control.php(66): X1\MVC\Widget->tryAction('show')
#18 /var/www/x1db-php/library/X1/MVC/Widget.php(94): X1\MVC\Control->run(Object(X1\MVC\Request))
#19 /var/www/x1db-php/webapps/xp/service/Pages.php(464): X1\MVC\Widget->dispatch()
#20 /var/www/x1db-php/webapps/xp/controllers/PageController.php(280): Xp\Service\Pages->render(Object(Xp\Models\Pages))
#21 /var/www/x1db-php/library/X1/MVC/Control.php(98): Xp\PageController->show()
#22 /var/www/x1db-php/library/X1/MVC/Control.php(66): X1\MVC\Control->tryAction('show')
#23 /var/www/x1db-php/library/X1/MVC/Controller.php(60): X1\MVC\Control->run(Object(X1\MVC\Request))
#24 /var/www/x1db-php/library/X1/MVC/Dispatcher.php(82): X1\MVC\Controller->run(Object(X1\MVC\Request))
#25 /var/www/x1db-php/library/X1/App/FrontController.php(275): X1\MVC\Dispatcher->dispatch()
#26 /var/www/x1db-php/public/index.php(38): X1\App\FrontController->run()
#27 {main}

Последний sql запрос:

select "ROLE_ACL"."RESOURCEFK","RIGHTS"."ID" from "ROLE_ACL"
			inner join "RIGHTS" on ("ROLE_ACL"."RIGHTFK" = "RIGHTS"."SYS_GUID" and mod(coalesce("RIGHTS"."SYS_STATE",0),2)=0)
            where   "ROLE_ACL"."ALLOW" = 1 and mod(coalesce("ROLE_ACL"."SYS_STATE",0),2)=0
            and "ROLE_ACL"."RESOURCEFK" in ('pages') and "ROLE_ACL"."SYS_GUIDFK" in ('readonly')