Notice: Trying to access array offset on value of type bool in /var/www/html/application/models/DbTable/Pages.php on line 38
string(1881) "ERROR: 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 '?)' at line 2, query was: SELECT `pages_tree`.`tree_id`, `pages_tree`.`parent_id`, `pages_tree`.`level`, `pages`.`link_name`, `pages`.`name_rus` FROM `pages_tree`
INNER JOIN `pages` ON pages_tree.tree_id = pages.tree_id WHERE (pages_tree.tree_id = ?)
#0 /var/www/html/libs/Zend/Db/Statement.php(303): Zend_Db_Statement_Pdo->_execute(Array)
#1 /var/www/html/libs/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /var/www/html/libs/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `pages_t...', Array)
#3 /var/www/html/libs/Zend/Db/Adapter/Abstract.php(759): Zend_Db_Adapter_Pdo_Abstract->query(Object(Zend_Db_Select), Array)
#4 /var/www/html/application/models/DbTable/Pages.php(62): Zend_Db_Adapter_Abstract->fetchRow(Object(Zend_Db_Select))
#5 /var/www/html/application/models/DbTable/Pages.php(38): Pages->getPathRecursive(NULL, true)
#6 /var/www/html/application/controllers/StaticController.php(23): Pages->restorePath('register')
#7 /var/www/html/libs/Zend/Controller/Action.php(133): StaticController->init()
#8 /var/www/html/libs/Zend/Controller/Dispatcher/Standard.php(281): Zend_Controller_Action->__construct(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http), Array)
#9 /var/www/html/libs/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /var/www/html/libs/Zend/Controller/Front.php(212): Zend_Controller_Front->dispatch()
#11 /var/www/html/application/Bootstrap.php(44): Zend_Controller_Front::run('application/con...')
#12 /var/www/html/index.php(29): Bootstrap->run()
#13 {main}"