Podujatia na deň

Error

Error

Description

Call to a member function hasItems() on null

Source File

/var/www/skoly/sosnovaky/buxus/application/views/scripts/events/day-list.phtml (4)

0001: <?= $this->action('page-navigator', $this->controller_name) ?>
0002: <?= $this->renderEditableHtmlProperty($this->page, PCT::TEXT_TAG) ?>
0003: 
0004: <? if ($this->list->hasItems()): ?>
0005: <? foreach ($this->list as $list_item): /* @var $list_item ListItem */ ?> 0006: <?php echo $this->partial('partials/clanok-list.phtml', array('list_item'=>$list_item));?> 0007: <? endforeach; ?> 0008: <?else:?> 0009: <p class="center"><i>Pre tento deň niesú definované žiadne podujatia.</i></p> 0010: <? endif; ?>

Stack Trace

#0 /usr/local/share/ZendSkoly/Zend/View.php(108): include()
#1 /usr/local/share/ZendSkoly/Zend/View/Abstract.php(888): Zend_View->_run()
#2 /usr/local/share/ZendSkoly/Zend/Controller/Action/Helper/ViewRenderer.php(900): Zend_View_Abstract->render()
#3 /usr/local/share/ZendSkoly/Zend/Controller/Action/Helper/ViewRenderer.php(921): Zend_Controller_Action_Helper_ViewRenderer->renderScript()
#4 /usr/local/share/ZendSkoly/Zend/Controller/Action/Helper/ViewRenderer.php(960): Zend_Controller_Action_Helper_ViewRenderer->render()
#5 /usr/local/share/ZendSkoly/Zend/Controller/Action/HelperBroker.php(277): Zend_Controller_Action_Helper_ViewRenderer->postDispatch()
#6 /usr/local/share/ZendSkoly/Zend/Controller/Action.php(527): Zend_Controller_Action_HelperBroker->notifyPostDispatch()
#7 /usr/local/share/ZendSkoly/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch()
#8 /usr/local/share/ZendSkoly/Zend/Controller/Front.php(954): Zend_Controller_Dispatcher_Standard->dispatch()
#9 /var/www/skoly/sosnovaky/buxus/includes/generate_functions.php(156): Zend_Controller_Front->dispatch()
#10 /var/www/skoly/sosnovaky/buxus/generate_page.php(70): GeneratePage()
#11 {main}

Script details

URL: http://www.sosnovaky.sk/hlavna-stranka/podujatia-akcie/podujatia-na-den.html?page_id=2270
Referer:  (WARNING! Can not be trusted!)
Browser: CCBot/2.0 (https://commoncrawl.org/faq/) (WARNING! Can not be trusted!)
Method: GET
				

Buxus details

Buxus version: 6.4.0
Buxus registration code: NOT registered

Server

+ ...

$_REQUEST

page_id:2270

$_SERVER

CONTEXT_DOCUMENT_ROOT:/var/www/skoly/sosnovaky
CONTEXT_PREFIX:
DOCUMENT_ROOT:/var/www/skoly/sosnovaky
FCGI_ROLE:RESPONDER
GATEWAY_INTERFACE:CGI/1.1
HOME:/var/www/skoly
HTTP_ACCEPT:text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_ACCEPT_LANGUAGE:en-US,en;q=0.5
HTTP_CONNECTION:Keep-Alive
HTTP_HOST:www.sosnovaky.sk
HTTP_USER_AGENT:CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_X_FORWARDED_FOR:3.236.225.157
PATH:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin
PHP_SELF:/buxus/generate_page.php
QUERY_STRING:page_id=2270
REDIRECT_QUERY_STRING:page_id=2270
REDIRECT_STATUS:200
REDIRECT_URL:/hlavna-stranka/podujatia-akcie/podujatia-na-den.html
REMOTE_ADDR:192.168.6.21
REMOTE_PORT:35116
REQUEST_METHOD:GET
REQUEST_SCHEME:http
REQUEST_TIME:1659940678
REQUEST_TIME_FLOAT:1659940678,3341
REQUEST_URI:/hlavna-stranka/podujatia-akcie/podujatia-na-den.html?page_id=2270
SCRIPT_FILENAME://var/www/skoly/sosnovaky/buxus/generate_page.php
SCRIPT_NAME:/buxus/generate_page.php
SERVER_ADDR:192.168.6.25
SERVER_ADMIN:[no address given]
SERVER_NAME:www.sosnovaky.sk
SERVER_PORT:80
SERVER_PROTOCOL:HTTP/1.1
SERVER_SIGNATURE:
SERVER_SOFTWARE:Apache
USER:skoly
proxy-nokeepalive:1
2022-08-08 08:37 Apache