Error
Call to a member function getVon() on null Error thrown with message "Call to a member function getVon() on null" Stacktrace: #12 Error in /html/website/views/scripts/content/single-termin.php:19 #11 include in /html/vendor/zendframework/zendframework1/library/Zend/View.php:157 #10 Zend_View:_run in /html/vendor/zendframework/zendframework1/library/Zend/View/Abstract.php:888 #9 Zend_View_Abstract:render in /html/vendor/zendframework/zendframework1/library/Zend/Controller/Action/Helper/ViewRenderer.php:912 #8 Zend_Controller_Action_Helper_ViewRenderer:renderScript in /html/vendor/zendframework/zendframework1/library/Zend/Controller/Action/Helper/ViewRenderer.php:933 #7 Zend_Controller_Action_Helper_ViewRenderer:render in /html/vendor/zendframework/zendframework1/library/Zend/Controller/Action/Helper/ViewRenderer.php:972 #6 Zend_Controller_Action_Helper_ViewRenderer:postDispatch in /html/pimcore/lib/Pimcore/Controller/Action/Helper/ViewRenderer.php:42 #5 Pimcore\Controller\Action\Helper\ViewRenderer:postDispatch in /html/vendor/zendframework/zendframework1/library/Zend/Controller/Action/HelperBroker.php:277 #4 Zend_Controller_Action_HelperBroker:notifyPostDispatch in /html/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php:527 #3 Zend_Controller_Action:dispatch in /html/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php:308 #2 Zend_Controller_Dispatcher_Standard:dispatch in /html/vendor/zendframework/zendframework1/library/Zend/Controller/Front.php:954 #1 Zend_Controller_Front:dispatch in /html/pimcore/lib/Pimcore.php:256 #0 Pimcore:run in /html/index.php:18
Stack frames (13)
12
Error
/
website
/
views
/
scripts
/
content
/
single-termin.php
19
11
include
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
View.php
157
10
Zend_View
_run
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
View
/
Abstract.php
888
9
Zend_View_Abstract
render
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Action
/
Helper
/
ViewRenderer.php
912
8
Zend_Controller_Action_Helper_ViewRenderer
renderScript
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Action
/
Helper
/
ViewRenderer.php
933
7
Zend_Controller_Action_Helper_ViewRenderer
render
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Action
/
Helper
/
ViewRenderer.php
972
6
Zend_Controller_Action_Helper_ViewRenderer
postDispatch
/
pimcore
/
lib
/
Pimcore
/
Controller
/
Action
/
Helper
/
ViewRenderer.php
42
5
Pimcore
\
Controller
\
Action
\
Helper
\
ViewRenderer
postDispatch
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Action
/
HelperBroker.php
277
4
Zend_Controller_Action_HelperBroker
notifyPostDispatch
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Action.php
527
3
Zend_Controller_Action
dispatch
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Dispatcher
/
Standard.php
308
2
Zend_Controller_Dispatcher_Standard
dispatch
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Front.php
954
1
Zend_Controller_Front
dispatch
/
pimcore
/
lib
/
Pimcore.php
256
0
Pimcore
run
/
index.php
18
/
html
/
website
/
views
/
scripts
/
content
/
single-termin.php
<?php
  $termin = $this->termin;
  $settings = $this->settings;
?>
<section class="single-termin">
  <div class="container">
    <div class="row">
      <div class="col-md-12">
        <div class="card">
          <a href="<?= $settings->getDatesPage() ?>"><i class="fa fa-chevron-circle-left" aria-hidden="true"></i> Zurück zur Übersicht</a>
        </div>
      </div>
    </div>
    <div class="row">
      <div class="col-md-2">
        <div class="card text-center">
 
          <?php
          $dateText = '<h4>' . $termin->getVon()->formatLocalized('%A') . '</h4>
          <h1>' . $termin->getVon()->formatLocalized('%d') . '</h1>
          <h3>' . utf8_encode($termin->getVon()->formatLocalized('%B')) . '</h3>
          <h4>' . $termin->getVon()->formatLocalized('%Y') . '</h4>
          <p><small>' . $termin->getVon()->format('H:i') . ' - ' . $termin->getBis()->format('H:i') . ' Uhr</small></p>';
 
          if ($termin->getVon()->format('d.m.Y') != $termin->getBis()->format('d.m.Y')) {
            $dateText = '<h4>' . $termin->getVon()->formatLocalized('%A') . '</h4>
            <h1>' . $termin->getVon()->formatLocalized('%d') . '</h1>
            <h3>' . utf8_encode($termin->getVon()->formatLocalized('%B')) . '</h3>
            <h4>' . $termin->getVon()->formatLocalized('%Y') . '</h4>
            <p><small>' . $termin->getVon()->format('H:i') . '</small></p>
            <hr>
            bis
            <hr>
            <h4>' . $termin->getBis()->formatLocalized('%A') . '</h4>
            <h1>' . $termin->getBis()->formatLocalized('%d') . '</h1>
            <h3>' . utf8_encode($termin->getBis()->formatLocalized('%B')) . '</h3>
            <h4>' . $termin->getBis()->formatLocalized('%Y') . '</h4>
            <p><small>' . $termin->getBis()->format('H:i') . ' Uhr</small></p>';
          }
          ?>
Arguments
  1. "Call to a member function getVon() on null"
    
/
html
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
View.php
     * Should the stream wrapper be used if short_open_tag is off?
     *
     * @return bool
     */
    public function useStreamWrapper()
    {
        return $this->_useStreamWrapper;
    }
 
    /**
     * Includes the view script in a scope with only public $this variables.
     *
     * @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);
        }
    }
}
 
/
html
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
View
/
Abstract.php
            if ('_' != substr($key, 0, 1)) {
                unset($this->$key);
            }
        }
    }
 
    /**
     * Processes a view script and returns the output.
     *
     * @param string $name The script name to process.
     * @return string The script output.
     */
    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
    }
 
    /**
     * Escapes a value for output in a view script.
     *
     * If escaping mechanism is one of htmlspecialchars or htmlentities, uses
     * {@link $_encoding} setting.
     *
     * @param mixed $var The output to escape.
     * @return mixed The escaped value.
     */
    public function escape($var)
    {
        if (in_array($this->_escape, array('htmlspecialchars', 'htmlentities'))) {
            return call_user_func($this->_escape, $var, ENT_COMPAT, $this->_encoding);
        }
 
        if (1 == func_num_args()) {
Arguments
  1. "/html/website/views/scripts/content/single-termin.php"
    
/
html
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Action
/
Helper
/
ViewRenderer.php
        return $filtered;
    }
 
    /**
     * Render a view script (optionally to a named response segment)
     *
     * Sets the noRender flag to true when called.
     *
     * @param  string $script
     * @param  string $name
     * @return void
     */
    public function renderScript($script, $name = null)
    {
        if (null === $name) {
            $name = $this->getResponseSegment();
        }
 
        $this->getResponse()->appendBody(
            $this->view->render($script),
            $name
        );
 
        $this->setNoRender();
    }
 
    /**
     * Render a view based on path specifications
     *
     * Renders a view based on the view script path specifications.
     *
     * @param  string  $action
     * @param  string  $name
     * @param  boolean $noController
     * @return void
     */
    public function render($action = null, $name = null, $noController = null)
    {
        $this->setRender($action, $name, $noController);
        $path = $this->getViewScript();
Arguments
  1. null
    
/
html
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Action
/
Helper
/
ViewRenderer.php
        );
 
        $this->setNoRender();
    }
 
    /**
     * Render a view based on path specifications
     *
     * Renders a view based on the view script path specifications.
     *
     * @param  string  $action
     * @param  string  $name
     * @param  boolean $noController
     * @return void
     */
    public function render($action = null, $name = null, $noController = null)
    {
        $this->setRender($action, $name, $noController);
        $path = $this->getViewScript();
        $this->renderScript($path, $name);
    }
 
    /**
     * Render a script based on specification variables
     *
     * Pass an action, and one or more specification variables (view script suffix)
     * to determine the view script path, and render that script.
     *
     * @param  string $action
     * @param  array  $vars
     * @param  string $name
     * @return void
     */
    public function renderBySpec($action = null, array $vars = array(), $name = null)
    {
        if (null !== $name) {
            $this->setResponseSegment($name);
        }
 
        $path = $this->getViewScript($action, $vars);
Arguments
  1. "content/single-termin.php"
    
  2. null
    
/
html
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Action
/
Helper
/
ViewRenderer.php
        $path = $this->getViewScript($action, $vars);
 
        $this->renderScript($path);
    }
 
    /**
     * postDispatch - auto render a view
     *
     * Only autorenders if:
     * - _noRender is false
     * - action controller is present
     * - request has not been re-dispatched (i.e., _forward() has not been called)
     * - response is not a redirect
     *
     * @return void
     */
    public function postDispatch()
    {
        if ($this->_shouldRender()) {
            $this->render();
        }
    }
 
    /**
     * Should the ViewRenderer render a view script?
     *
     * @return boolean
     */
    protected function _shouldRender()
    {
        return (!$this->getFrontController()->getParam('noViewRenderer')
            && !$this->_neverRender
            && !$this->_noRender
            && (null !== $this->_actionController)
            && $this->getRequest()->isDispatched()
            && !$this->getResponse()->isRedirect()
        );
    }
 
    /**
/
html
/
pimcore
/
lib
/
Pimcore
/
Controller
/
Action
/
Helper
/
ViewRenderer.php
 
    /**
     * @var bool
     */
    public $isInitialized = false;
 
    /**
     *
     */
    public function postDispatch()
    {
        if ($this->_shouldRender()) {
            if (method_exists($this->getActionController(), "getRenderScript")) {
                if ($script = $this->getActionController()->getRenderScript()) {
                    $this->renderScript($script);
                }
            }
        }
        
        parent::postDispatch();
    }
 
    /**
     * @param null $path
     * @param null $prefix
     * @param array $options
     */
    public function initView($path = null, $prefix = null, array $options = [])
    {
        if (null === $this->view) {
            $view = new View();
            $view->setRequest($this->getRequest());
            $view->addHelperPath(PIMCORE_PATH . "/lib/Pimcore/View/Helper", "\\Pimcore\\View\\Helper\\");
 
            $this->setView($view);
        }
 
        parent::initView($path, $prefix, $options);
 
 
/
html
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Action
/
HelperBroker.php
     * notifyPreDispatch() - called by action controller dispatch method
     *
     * @return void
     */
    public function notifyPreDispatch()
    {
        foreach (self::getStack() as $helper) {
            $helper->preDispatch();
        }
    }
 
    /**
     * notifyPostDispatch() - called by action controller dispatch method
     *
     * @return void
     */
    public function notifyPostDispatch()
    {
        foreach (self::getStack() as $helper) {
            $helper->postDispatch();
        }
    }
 
    /**
     * getHelper() - get helper by name
     *
     * @param  string $name
     * @return Zend_Controller_Action_Helper_Abstract
     */
    public function getHelper($name)
    {
        $name  = self::_normalizeHelperName($name);
        $stack = self::getStack();
 
        if (!isset($stack->{$name})) {
            self::_loadHelper($name);
        }
 
        $helper = $stack->{$name};
 
/
html
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Action.php
            // If pre-dispatch hooks introduced a redirect then stop dispatch
            // @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());
                }
            }
            $this->postDispatch();
        }
 
        // whats actually important here is that this action controller is
        // shutting down, regardless of dispatching; notify the helpers of this
        // state
        $this->_helper->notifyPostDispatch();
    }
 
    /**
     * Call the action specified in the request object, and return a response
     *
     * Not used in the Action Controller implementation, but left for usage in
     * Page Controller implementations. Dispatches a method based on the
     * request.
     *
     * Returns a Zend_Controller_Response_Abstract object, instantiating one
     * prior to execution if none exists in the controller.
     *
     * {@link preDispatch()} is called prior to the action,
     * {@link postDispatch()} is called following it.
     *
     * @param null|Zend_Controller_Request_Abstract $request Optional request
     * object to use
     * @param null|Zend_Controller_Response_Abstract $response Optional response
     * object to use
     * @return Zend_Controller_Response_Abstract
/
html
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Dispatcher
/
Standard.php
 
        /**
         * Retrieve the action name
         */
        $action = $this->getActionMethod($request);
 
        /**
         * Dispatch the method call
         */
        $request->setDispatched(true);
 
        // by default, buffer output
        $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
            $curObLevel = ob_get_level();
            if ($curObLevel > $obLevel) {
                do {
                    ob_get_clean();
                    $curObLevel = ob_get_level();
                } while ($curObLevel > $obLevel);
            }
            throw $e;
        }
 
        if (empty($disableOb)) {
            $content = ob_get_clean();
            $response->appendBody($content);
        }
 
        // Destroy the page controller instance and reflection objects
        $controller = null;
    }
Arguments
  1. "singleTerminAction"
    
/
html
/
vendor
/
zendframework
/
zendframework1
/
library
/
Zend
/
Controller
/
Front.php
            do {
                $this->_request->setDispatched(true);
 
                /**
                 * Notify plugins of dispatch startup
                 */
                $this->_plugins->preDispatch($this->_request);
 
                /**
                 * Skip requested action if preDispatch() has reset it
                 */
                if (!$this->_request->isDispatched()) {
                    continue;
                }
 
                /**
                 * Dispatch request
                 */
                try {
                    $dispatcher->dispatch($this->_request, $this->_response);
                } catch (Exception $e) {
                    if ($this->throwExceptions()) {
                        throw $e;
                    }
                    $this->_response->setException($e);
                }
 
                /**
                 * Notify plugins of dispatch completion
                 */
                $this->_plugins->postDispatch($this->_request);
            } while (!$this->_request->isDispatched());
        } catch (Exception $e) {
            if ($this->throwExceptions()) {
                throw $e;
            }
 
            $this->_response->setException($e);
        }
 
Arguments
  1. Zend_Controller_Request_Http {}
    
  2. Zend_Controller_Response_Http {}
    
/
html
/
pimcore
/
lib
/
Pimcore.php
            $user = \Pimcore\Tool\Authentication::authenticateSession();
            if ($user instanceof User) {
                $throwExceptions = true;
            }
        }
 
        // run dispatcher
        try {
            // this is also standard for /admin/ requests -> error handling is done in Pimcore\Controller\Action\Admin
            if (!PIMCORE_DEBUG && !$throwExceptions && !PIMCORE_DEVMODE) {
                @ini_set("display_errors", "Off");
                @ini_set("display_startup_errors", "Off");
 
                $front->dispatch();
            } else {
                @ini_set("display_errors", "On");
                @ini_set("display_startup_errors", "On");
 
                $front->throwExceptions(true);
                $front->dispatch();
            }
        } catch (\Zend_Controller_Router_Exception $e) {
            if (!headers_sent()) {
                header("HTTP/1.0 404 Not Found");
            }
            Logger::err($e);
            throw new \Zend_Controller_Router_Exception("No route, document, custom route or redirect is matching the request: " . $_SERVER["REQUEST_URI"] . " | \n" . "Specific ERROR: " . $e->getMessage());
        } catch (\Exception $e) {
            if (!headers_sent()) {
                header("HTTP/1.0 500 Internal Server Error");
            }
            throw $e;
        }
    }
 
    /**
     * @static
     * @param \Zend_Controller_Front $front
     */
    public static function initControllerFront(\Zend_Controller_Front $front)
/
html
/
index.php
<?php
/**
 * Pimcore
 *
 * This source file is available under two different licenses:
 * - GNU General Public License version 3 (GPLv3)
 * - Pimcore Enterprise License (PEL)
 * Full copyright and license information is available in
 * LICENSE.md which is distributed with this source code.
 *
 * @copyright  Copyright (c) 2009-2016 pimcore GmbH (http://www.pimcore.org)
 * @license    http://www.pimcore.org/license     GPLv3 and PEL
 */
 
include_once("pimcore/config/startup.php");
 
try {
    \Pimcore::run();
} catch (Exception $e) {
    // handle exceptions, log to file
    if(class_exists("Pimcore\\Logger")) {
        \Pimcore\Logger::emerg($e);
    }
    throw $e;
}
 

Environment & details:

empty
empty
empty
empty
empty
Key Value
GCONV_PATH
"/usr/local/php/lib64/gconv"
LO_PATH
"/usr/local/php/lib64/locale"
MAGICK_C0DER_MODULE_PATH
"/usr/local/php/lib64/ImageMagick-6.9.10/modules-Q16/coders"
OPENSSL_CONF
"/etc/ssl/openssl.cnf"
PATH
"/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin"
USER
"p419814"
HOME
"/home/www/p419814"
SCRIPT_NAME
"/index.php"
REQUEST_URI
"/termine/maiandacht-mit-standkonzert_t275"
QUERY_STRING
""
REQUEST_METHOD
"GET"
SERVER_PROTOCOL
"HTTP/2.0"
GATEWAY_INTERFACE
"CGI/1.1"
REDIRECT_URL
"/termine/maiandacht-mit-standkonzert_t275"
REMOTE_PORT
"52832"
SCRIPT_FILENAME
"/home/www/p419814/html/index.php"
SERVER_ADMIN
"[no address given]"
CONTEXT_DOCUMENT_ROOT
"/home/www/p419814/html/"
CONTEXT_PREFIX
""
REQUEST_SCHEME
"https"
DOCUMENT_ROOT
"/home/www/p419814/html/"
REMOTE_ADDR
"54.165.248.212"
SERVER_PORT
"443"
SERVER_ADDR
"172.18.37.129"
SERVER_NAME
"www.mv-eggenthal.de"
SERVER_SOFTWARE
"Apache"
SERVER_SIGNATURE
""
HTTP_HOST
"www.mv-eggenthal.de"
HTTP_USER_AGENT
"claudebot"
HTTP_ACCEPT
"*/*"
H2_STREAM_TAG
"1261955-16-3"
H2_STREAM_ID
"3"
H2_PUSHED_ON
""
H2_PUSHED
""
H2_PUSH
"off"
H2PUSH
"off"
HTTP2
"on"
SSL_TLS_SNI
"www.mv-eggenthal.de"
HTTPS
"on"
REDIRECT_STATUS
"200"
REDIRECT_H2_STREAM_TAG
"1261955-16-3"
REDIRECT_H2_STREAM_ID
"3"
REDIRECT_H2_PUSHED_ON
""
REDIRECT_H2_PUSHED
""
REDIRECT_H2_PUSH
"off"
REDIRECT_H2PUSH
"off"
REDIRECT_HTTP2
"on"
REDIRECT_SSL_TLS_SNI
"www.mv-eggenthal.de"
REDIRECT_HTTPS
"on"
FCGI_ROLE
"RESPONDER"
PHP_SELF
"/index.php"
REQUEST_TIME_FLOAT
1711638699.1405
REQUEST_TIME
1711638699
TMPDIR
"/html/website/var/cache"
TEMP
"/html/website/var/cache"
TMP
"/html/website/var/cache"
windir
"/html/website/var/cache"
SystemRoot
"/html/website/var/cache"
Key Value
TMPDIR
"/html/website/var/cache"
TEMP
"/html/website/var/cache"
TMP
"/html/website/var/cache"
windir
"/html/website/var/cache"
SystemRoot
"/html/website/var/cache"
0. Whoops\Handler\PrettyPageHandler