Ошибка
Non-static method Category::getTree() cannot be called statically
/var/www/makeo/app/views/exception.phtml:62:
array (size=3)
0 =>
array (size=5)
'function' => string 'render' (length=6)
'class' => string 'Phalcon\Mvc\View\Engine\Php' (length=27)
'object' =>
object(Phalcon\Mvc\View\Engine\Php)[103]
protected 'container' =>
object(Phalcon\Di\FactoryDefault)[12]
...
protected 'view' =>
object(Phalcon\Mvc\View\Simple)[91]
...
public 'tag' =>
object(Phalcon\Tag)[105]
'type' => string '->' (length=2)
'args' =>
array (size=3)
0 => string '../app/views/exception.phtml' (length=28)
1 =>
array (size=2)
...
2 => boolean true
1 =>
array (size=5)
'function' => string 'internalRender' (length=14)
'class' => string 'Phalcon\Mvc\View\Simple' (length=23)
'object' =>
object(Phalcon\Mvc\View\Simple)[91]
protected 'container' => null
protected 'activeRenderPath' => null
protected 'content' => null
protected 'engines' =>
array (size=1)
...
protected 'eventsManager' => null
protected 'options' =>
array (size=0)
protected 'registeredEngines' =>
array (size=0)
protected 'viewsDir' => string '../app/views/' (length=13)
protected 'viewParams' =>
array (size=2)
...
'type' => string '->' (length=2)
'args' =>
array (size=2)
0 => string 'exception' (length=9)
1 =>
array (size=2)
...
2 =>
array (size=7)
'file' => string '/var/www/makeo/public/index.php' (length=31)
'line' => int 332
'function' => string 'render' (length=6)
'class' => string 'Phalcon\Mvc\View\Simple' (length=23)
'object' =>
object(Phalcon\Mvc\View\Simple)[91]
protected 'container' => null
protected 'activeRenderPath' => null
protected 'content' => null
protected 'engines' =>
array (size=1)
...
protected 'eventsManager' => null
protected 'options' =>
array (size=0)
protected 'registeredEngines' =>
array (size=0)
protected 'viewsDir' => string '../app/views/' (length=13)
protected 'viewParams' =>
array (size=2)
...
'type' => string '->' (length=2)
'args' =>
array (size=1)
0 => string 'exception' (length=9)