20. Zend_Controller_Exception
…/­vendor/­zendframework/­zendframework1/­library/­Zend/­Controller/­Plugin/­Broker.php336
19. Exception
…/­vendor/­buxus/­core/­buxus/­includes/­classes/­buxus_page_properties_base.class.php81
18. BuxusPagePropertiesBase readGeneralProperties
…/­vendor/­buxus/­core/­buxus/­includes/­classes/­buxus_page_properties_base.class.php316
17. BuxusPagePropertiesBase readPageProperties
…/­vendor/­buxus/­core/­buxus/­includes/­classes/­buxus_page_properties_base.class.php52
16. BuxusPagePropertiesBase __construct
…/­buxus/­application/­models/­App/­Page/­PageFactory.php21
15. App\Page\PageFactory get
…/­buxus/­application/­controllers/­IndexController.php360
14. IndexController footerAction
…/­vendor/­zendframework/­zendframework1/­library/­Zend/­Controller/­Action.php516
13. Zend_Controller_Action dispatch
…/­vendor/­zendframework/­zendframework1/­library/­Zend/­Controller/­Dispatcher/­Standard.php308
12. Zend_Controller_Dispatcher_Standard dispatch
…/­vendor/­zendframework/­zendframework1/­library/­Zend/­View/­Helper/­Action.php135
11. Zend_View_Helper_Action action
<#unknown>0
10. call_user_func_array
…/­vendor/­zendframework/­zendframework1/­library/­Zend/­View/­Abstract.php350
9. Zend_View_Abstract __call
…/­buxus/­application/­layouts/­main.phtml220
8. Zend_View action
…/­buxus/­application/­layouts/­main.phtml220
7. include
…/­vendor/­zendframework/­zendframework1/­library/­Zend/­View.php157
6. Zend_View _run
…/­vendor/­zendframework/­zendframework1/­library/­Zend/­View/­Abstract.php888
5. Zend_View_Abstract render
…/­vendor/­zendframework/­zendframework1/­library/­Zend/­Layout.php796
4. Zend_Layout render
…/­vendor/­zendframework/­zendframework1/­library/­Zend/­Layout/­Controller/­Plugin/­Layout.php143
3. Zend_Layout_Controller_Plugin_Layout postDispatch
…/­vendor/­zendframework/­zendframework1/­library/­Zend/­Controller/­Plugin/­Broker.php333
2. Zend_Controller_Plugin_Broker postDispatch
…/­vendor/­zendframework/­zendframework1/­library/­Zend/­Controller/­Front.php965
1. Zend_Controller_Front dispatch
…/­vendor/­buxus/­core/­buxus/­includes/­generate_functions.php165
0. GeneratePage
…/­buxus/­generate_page.php62

Zend_Controller_Exception

Callstack information; navigate with mouse or keyboard using Ctrl+↑ or Ctrl+↓
Copy-to-clipboard button
Exception message and its type
Code snippet where the error was thrown
Server state information
Application provided context information
Zend_Controller_Exception thrown with message "The page with ID [0] does not exist.#0 /data/sse/vendor/buxus/core/buxus/includes/classes/buxus_page_properties_base.class.php(316): BuxusPagePropertiesBase::readGeneralProperties(0) #1 /data/sse/vendor/buxus/core/buxus/includes/classes/buxus_page_properties_base.class.php(52): BuxusPagePropertiesBase->readPageProperties(0) #2 /data/sse/buxus/application/models/App/Page/PageFactory.php(21): BuxusPagePropertiesBase->__construct(false) #3 /data/sse/buxus/application/controllers/IndexController.php(360): App\Page\PageFactory::get(false) #4 /data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): IndexController->footerAction() #5 /data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('footerAction') #6 /data/sse/vendor/zendframework/zendframework1/library/Zend/View/Helper/Action.php(135): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #7 [internal function]: Zend_View_Helper_Action->action('footer', 'index') #8 /data/sse/vendor/zendframework/zendframework1/library/Zend/View/Abstract.php(350): call_user_func_array(Array, Array) #9 /data/sse/buxus/application/layouts/main.phtml(220): Zend_View_Abstract->__call('action', Array) #10 /data/sse/buxus/application/layouts/main.phtml(220): Zend_View->action('footer', 'index') #11 /data/sse/vendor/zendframework/zendframework1/library/Zend/View.php(157): include('/data/sse/buxus...') #12 /data/sse/vendor/zendframework/zendframework1/library/Zend/View/Abstract.php(888): Zend_View->_run('/data/sse/buxus...') #13 /data/sse/vendor/zendframework/zendframework1/library/Zend/Layout.php(796): Zend_View_Abstract->render('main.phtml') #14 /data/sse/vendor/zendframework/zendframework1/library/Zend/Layout/Controller/Plugin/Layout.php(143): Zend_Layout->render() #15 /data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Plugin/Broker.php(333): Zend_Layout_Controller_Plugin_Layout->postDispatch(Object(Zend_Controller_Request_Http)) #16 /data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php(965): Zend_Controller_Plugin_Broker->postDispatch(Object(Zend_Controller_Request_Http)) #17 /data/sse/vendor/buxus/core/buxus/includes/generate_functions.php(165): Zend_Controller_Front->dispatch(Object(Zend_Controller_Request_Http)) #18 /data/sse/buxus/generate_page.php(62): GeneratePage(4554) #19 {main}" Stacktrace: #20 Zend_Controller_Exception in /data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Plugin/Broker.php:336 #19 Exception in /data/sse/vendor/buxus/core/buxus/includes/classes/buxus_page_properties_base.class.php:81 #18 BuxusPagePropertiesBase:readGeneralProperties in /data/sse/vendor/buxus/core/buxus/includes/classes/buxus_page_properties_base.class.php:316 #17 BuxusPagePropertiesBase:readPageProperties in /data/sse/vendor/buxus/core/buxus/includes/classes/buxus_page_properties_base.class.php:52 #16 BuxusPagePropertiesBase:__construct in /data/sse/buxus/application/models/App/Page/PageFactory.php:21 #15 App\Page\PageFactory:get in /data/sse/buxus/application/controllers/IndexController.php:360 #14 IndexController:footerAction in /data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php:516 #13 Zend_Controller_Action:dispatch in /data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php:308 #12 Zend_Controller_Dispatcher_Standard:dispatch in /data/sse/vendor/zendframework/zendframework1/library/Zend/View/Helper/Action.php:135 #11 Zend_View_Helper_Action:action in <#unknown>:0 #10 call_user_func_array in /data/sse/vendor/zendframework/zendframework1/library/Zend/View/Abstract.php:350 #9 Zend_View_Abstract:__call in /data/sse/buxus/application/layouts/main.phtml:220 #8 Zend_View:action in /data/sse/buxus/application/layouts/main.phtml:220 #7 include in /data/sse/vendor/zendframework/zendframework1/library/Zend/View.php:157 #6 Zend_View:_run in /data/sse/vendor/zendframework/zendframework1/library/Zend/View/Abstract.php:888 #5 Zend_View_Abstract:render in /data/sse/vendor/zendframework/zendframework1/library/Zend/Layout.php:796 #4 Zend_Layout:render in /data/sse/vendor/zendframework/zendframework1/library/Zend/Layout/Controller/Plugin/Layout.php:143 #3 Zend_Layout_Controller_Plugin_Layout:postDispatch in /data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Plugin/Broker.php:333 #2 Zend_Controller_Plugin_Broker:postDispatch in /data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php:965 #1 Zend_Controller_Front:dispatch in /data/sse/vendor/buxus/core/buxus/includes/generate_functions.php:165 #0 GeneratePage in /data/sse/buxus/generate_page.php:62

The page with ID [0] does not exist.#0 /data/sse/vendor/buxus/core/buxus/includes/classes/buxus_page_properties_base.class.php(316): BuxusPagePropertiesBase::readGeneralProperties(0) #1 /data/sse/vendor/buxus/core/buxus/includes/classes/buxus_page_properties_base.class.php(52): BuxusPagePropertiesBase->readPageProperties(0) #2 /data/sse/buxus/application/models/App/Page/PageFactory.php(21): BuxusPagePropertiesBase->__construct(false) #3 /data/sse/buxus/application/controllers/IndexController.php(360): App\Page\PageFactory::get(false) #4 /data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): IndexController->footerAction() #5 /data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('footerAction') #6 /data/sse/vendor/zendframework/zendframework1/library/Zend/View/Helper/Action.php(135): Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http), Object(Zend_Controller_Response_Http)) #7 [internal function]: Zend_View_Helper_Action->action('footer', 'index') #8 /data/sse/vendor/zendframework/zendframework1/library/Zend/View/Abstract.php(350): call_user_func_array(Array, Array) #9 /data/sse/buxus/application/layouts/main.phtml(220): Zend_View_Abstract->__call('action', Array) #10 /data/sse/buxus/application/layouts/main.phtml(220): Zend_View->action('footer', 'index') #11 /data/sse/vendor/zendframework/zendframework1/library/Zend/View.php(157): include('/data/sse/buxus...') #12 /data/sse/vendor/zendframework/zendframework1/library/Zend/View/Abstract.php(888): Zend_View->_run('/data/sse/buxus...') #13 /data/sse/vendor/zendframework/zendframework1/library/Zend/Layout.php(796): Zend_View_Abstract->render('main.phtml') #14 /data/sse/vendor/zendframework/zendframework1/library/Zend/Layout/Controller/Plugin/Layout.php(143): Zend_Layout->render() #15 /data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Plugin/Broker.php(333): Zend_Layout_Controller_Plugin_Layout->postDispatch(Object(Zend_Controller_Request_Http)) #16 /data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php(965): Zend_Controller_Plugin_Broker->postDispatch(Object(Zend_Controller_Request_Http)) #17 /data/sse/vendor/buxus/core/buxus/includes/generate_functions.php(165): Zend_Controller_Front->dispatch(Object(Zend_Controller_Request_Http)) #18 /data/sse/buxus/generate_page.php(62): GeneratePage(4554) #19 {main}

/data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Plugin/Broker.php
    public function postDispatch(Zend_Controller_Request_Abstract $request)
    {
        foreach ($this->_plugins as $plugin) {
            try {
                $plugin->postDispatch($request);
            } catch (Exception $e) {
                if (Zend_Controller_Front::getInstance()->throwExceptions()) {
                    throw new Zend_Controller_Exception($e->getMessage() . $e->getTraceAsString(), $e->getCode(), $e);
                } else {
                    $this->getResponse()->setException($e);
/data/sse/vendor/buxus/core/buxus/includes/classes/buxus_page_properties_base.class.php
				tblPages
			WHERE
				page_id = :page_id";
		$properties = BuxusDB::get()->fetchRow($query, array(':page_id' => $page_id));
 
		if (empty($properties))
		{ // The page does not exist
			throw new Exception('The page with ID [' . $page_id . '] does not exist.');
		}
		else
Exception message: The page with ID [0] does not exist.
/data/sse/vendor/buxus/core/buxus/includes/classes/buxus_page_properties_base.class.php
	 *
	 * @param int $page_id
	 * @return array
	 */
	public function readPageProperties($page_id)
	{
		// Nacitanie zakladnych vlastnosti
		$properties = $this->readGeneralProperties($page_id);
 
		if (! empty($properties))
/data/sse/vendor/buxus/core/buxus/includes/classes/buxus_page_properties_base.class.php
		$this->page_id = (int) $page_id;
 
		// Read properties
		$cache = BuxusPagePropertiesCacheFactory::getInstance();
		$tmp = $cache->get($this->page_id);
		if (! is_array($tmp))
		{ // The data was not in cache
			$this->properties = self::readPageProperties($this->page_id);
			$cache->set($this->page_id, array('properties' => $this->properties, 'defined_properties_tags' => $this->defined_properties_tags));
		}
/data/sse/buxus/application/models/App/Page/PageFactory.php
	 *
	 * @return FinalPage
	 */
	public static function get($id, $page_type_id = null, $not_from_cache = false)
	{
		if ($not_from_cache || !isset(self::$pages[$id])) {
			if (is_null($page_type_id)) {
				$page = new FinalPage($id);
				$page_type_id = $page->getProperty('page_type_id');
			}
/data/sse/buxus/application/controllers/IndexController.php
                    $list_base->getItem($item['page_id'])->setSelected();
                }
 
            }
        }
        $this->view->footer_secondary_menu = $list_base;
 
        $this->view->cookies = PageFactory::get(PageIds::getCookies());
 
    }
/data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php
            // @see ZF-7496
            if (!($this->getResponse()->isRedirect())) {
                // preDispatch() didn't change the action, so we can continue
                if ($this->getInvokeArg('useCaseSensitiveActions') || in_array($action, $this->_classMethods)) {
                    if ($this->getInvokeArg('useCaseSensitiveActions')) {
                        trigger_error('Using case sensitive actions without word separators is deprecated; please do not rely on this "feature"');
                    }
                    $this->$action();
                } else {
                    $this->__call($action, array());
/data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php
        $disableOb = $this->getParam('disableOutputBuffering');
        $obLevel   = ob_get_level();
        if (empty($disableOb)) {
            ob_start();
        }
 
        try {
            $controller->dispatch($action);
        } catch (Exception $e) {
            // Clean output buffer on error
/data/sse/vendor/zendframework/zendframework1/library/Zend/View/Helper/Action.php
 
        $this->request->setParams($params)
                      ->setModuleName($module)
                      ->setControllerName($controller)
                      ->setActionName($action)
                      ->setDispatched(true);
 
        $this->dispatcher->dispatch($this->request, $this->response);
 
        // reset the viewRenderer object to it's original state
<#unknown>
/data/sse/vendor/zendframework/zendframework1/library/Zend/View/Abstract.php
        // is the helper already loaded?
        $helper = $this->getHelper($name);
 
        // call the helper method
        return call_user_func_array(
            array($helper, $name),
            $args
        );
    }
 
/data/sse/buxus/application/layouts/main.phtml
 
<?php if (GetProperty(C_PROPERTY_TAG_CONTROLLER_NAME) != 'mailinglist' && !PH::isLangVersion()): ?>
	<?php echo $this->partial('/partials/footer-mailing.phtml',array('page' => $this->page)) ?>
<?php else: ?>
	<div class="hp-mailing__outer hp-mailing__outer--empty"></div>
<?php endif; ?>
 
<?php echo $this->action('footer','index'); ?>
 
 
/data/sse/buxus/application/layouts/main.phtml
 
<?php if (GetProperty(C_PROPERTY_TAG_CONTROLLER_NAME) != 'mailinglist' && !PH::isLangVersion()): ?>
	<?php echo $this->partial('/partials/footer-mailing.phtml',array('page' => $this->page)) ?>
<?php else: ?>
	<div class="hp-mailing__outer hp-mailing__outer--empty"></div>
<?php endif; ?>
 
<?php echo $this->action('footer','index'); ?>
 
 
/data/sse/vendor/zendframework/zendframework1/library/Zend/View.php
     * @param string The view script to execute.
     */
    protected function _run()
    {
        if ($this->_useViewStream && $this->useStreamWrapper()) {
            include 'zend.view://' . func_get_arg(0);
        } else {
            include func_get_arg(0);
        }
    }
/data/sse/vendor/zendframework/zendframework1/library/Zend/View/Abstract.php
    public function render($name)
    {
        // find the script file name using the parent private method
        $this->_file = $this->_script($name);
        unset($name); // remove $name from local scope
 
        ob_start();
        $this->_run($this->_file);
 
        return $this->_filter(ob_get_clean()); // filter output
/data/sse/vendor/zendframework/zendframework1/library/Zend/Layout.php
            } else {
                $view->setScriptPath($path);
            }
        } elseif (null !== ($path = $this->getViewBasePath())) {
            $view->addBasePath($path, $this->_viewBasePrefix);
        }
 
        return $view->render($name);
    }
}
/data/sse/vendor/zendframework/zendframework1/library/Zend/Layout/Controller/Plugin/Layout.php
        }
 
        $layout->assign($content);
 
        $fullContent = null;
        $obStartLevel = ob_get_level();
        try {
            $fullContent = $layout->render();
            $response->setBody($fullContent);
        } catch (Exception $e) {
/data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Plugin/Broker.php
     * @param  Zend_Controller_Request_Abstract $request
     * @return void
     */
    public function postDispatch(Zend_Controller_Request_Abstract $request)
    {
        foreach ($this->_plugins as $plugin) {
            try {
                $plugin->postDispatch($request);
            } catch (Exception $e) {
                if (Zend_Controller_Front::getInstance()->throwExceptions()) {
/data/sse/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php
                    }
                    $this->_response->setException($e);
                }
 
                /**
                 * Notify plugins of dispatch completion
                 */
                $this->_plugins->postDispatch($this->_request);
            } while (!$this->_request->isDispatched());
        } catch (Exception $e) {
/data/sse/vendor/buxus/core/buxus/includes/generate_functions.php
        $view = \Zend_Layout::getMvcInstance()->getView();
 
        $module_view_helper_paths = \Buxus\Module\BuxusModule::helperPaths();
        foreach ($module_view_helper_paths as $helper_path) {
            $view->addHelperPath($helper_path['path'], $helper_path['prefix']);
        }
 
		$front->dispatch($request);
        //\Buxus\DebugBar::getInstance()->stopMeasure('mvc_render');
 
/data/sse/buxus/generate_page.php
}
 
$_REQUEST['page_id'] = $page_id;
$_GET['page_id'] = $page_id;
\Buxus\DebugBar::getInstance()->info('page_id: ' . $page_id, 'buxus');
\Buxus\DebugBar::getInstance()->stopMeasure('seo_url_resolver');
\Buxus\DebugBar::getInstance()->startMeasure('generate_page', 'GeneratePage()');
GeneratePage($page_id);
 
Key Value
page_id 4554
empty
empty
empty
Key Value
BUXUS_RUNNING
empty
empty
0. Whoops\Handler\PrettyPageHandler