Solarix_Error_Exception

Showing /var/www/clients/client39/web517/web/app-templates/en/actions/frontend/static/page/welcome.phtml
where line #126 raised:

Trying to get property of non-object

Extracted source (around line #126):

 123                      </tr>
 124                      <tr>
 125                        <td height="20" align="left" class="struttura_caratteristiche_tab"><span class="nomestruttura"><strong>
[126]»                        <?if (count($this->last_structure->apartments)):?>
 127                          Casale
 128                          <?else:?>
 129                          Villa

Debug data:

#0 /var/www/clients/client39/web517/web/app-templates/en/actions/frontend/static/page/welcome.phtml(126): Solarix_Error_Handler::handle(8, 'Trying to get p...', '/var/www/client...', 126, Array)
#1 /var/www/clients/client39/web517/web/app/libs/zend/Zend/View.php(46): include('/var/www/client...')
#2 /var/www/clients/client39/web517/web/app/libs/zend/Zend/View/Abstract.php(769): Zend_View->_run('/var/www/client...')
#3 /var/www/clients/client39/web517/web/app/libs/zend/Zend/Controller/Action/Helper/ViewRenderer.php(872): Zend_View_Abstract->render('en/actions/fron...')
#4 /var/www/clients/client39/web517/web/app/libs/zend/Zend/Controller/Action.php(238): Zend_Controller_Action_Helper_ViewRenderer->renderScript('en/actions/fron...', NULL)
#5 /var/www/clients/client39/web517/web/app/modules/frontend/controllers/StaticController.php(96): Zend_Controller_Action->renderScript('en/actions/fron...')
#6 /var/www/clients/client39/web517/web/app/libs/zend/Zend/Controller/Action.php(502): Frontend_StaticController->pageAction()
#7 /var/www/clients/client39/web517/web/app/libs/zend/Zend/Controller/Dispatcher/Standard.php(293): Zend_Controller_Action->dispatch('pageAction')
#8 /var/www/clients/client39/web517/web/app/libs/zend/Zend/Controller/Front.php(914): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#9 /var/www/clients/client39/web517/web/app/libs/solarix/Solarix/Context/Web.php(79): Zend_Controller_Front->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http))
#10 /var/www/clients/client39/web517/web/app/libs/solarix/Solarix.php(73): Solarix_Context_Web->run()
#11 /var/www/clients/client39/web517/web/index.php(7): Solarix::run()
#12 {main}
Module: frontend
Controller: static
Action: page
Params: