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

Prepare error: ERROR: column org.SITE_ORGANIZATION does not exist LINE 10: org."SITE_ORGANIZATION" as "SIT... ^

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

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

#0 /var/www/library/X1/Db/Statement.php(62): X1\Db\Adapter\Pgsql->prepare('SELECT org."NAM...')
#1 /var/www/library/X1/Db/Adapter.php(111): X1\Db\Statement->__construct(Object(X1\Db\Adapter\Pgsql), 'SELECT org."NAM...', Array)
#2 /var/www/library/X1/Db/Adapter/Pgsql.php(127): X1\Db\Adapter->query('SELECT org."NAM...', Array)
#3 /var/www/webapps/copp/controllers/DashboardController.php(1219): X1\Db\Adapter\Pgsql->fetchAll('SELECT org."NAM...', Array)
#4 /var/www/library/X1/MVC/Control.php(101): Copp\DashboardController->organizationReading()
#5 /var/www/library/X1/MVC/Control.php(66): X1\MVC\Control->tryAction('organizationRea...')
#6 /var/www/library/X1/MVC/Controller.php(60): X1\MVC\Control->run(Object(X1\MVC\Request))
#7 /var/www/library/X1/MVC/Dispatcher.php(84): X1\MVC\Controller->run(Object(X1\MVC\Request))
#8 /var/www/library/X1/App/FrontController.php(144): X1\MVC\Dispatcher->dispatch()
#9 /var/www/public/index.php(36): X1\App\FrontController->run()
#10 {main}

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

select  "PAGES".*,"$JVERFK"."VER" as "VER","$JVERFK"."CONTENT" as "CONTENT","$JVERFK"."MODIFIED" as "MODIFIED","$JVERFK"."SYS_GUID" as "VERID" from "PAGES"
left join "PAGE_VERSIONS" as "$JVERFK" on ("$JVERFK"."SYS_GUID"="PAGES"."VERFK")  
where 
 mod(coalesce("PAGES"."SYS_STATE",0),2)=0
  and  ("PAGES"."SYS_GUID"= ?)