Fatal error: Call to a member function children() on boolean in /is/htdocs/wp12610961_MDNS0JU9O9/www/aic_liveneu/site/controllers/calendar.php on line 43
Kirby CMS Debugger
Whoops \ Exception \ ErrorException (E_ERROR)
Call to a member function children() on boolean Whoops\Exception\ErrorException thrown with message "Call to a member function children() on boolean" Stacktrace: #0 Whoops\Exception\ErrorException in /is/htdocs/wp12610961_MDNS0JU9O9/www/aic_liveneu/site/controllers/calendar.php:43
Stack frames (1)
0
Whoops
\
Exception
\
ErrorException
/
is
/
htdocs
/
wp12610961_MDNS0JU9O9
/
www
/
aic_liveneu
/
site
/
controllers
/
calendar.php
43
/
is
/
htdocs
/
wp12610961_MDNS0JU9O9
/
www
/
aic_liveneu
/
site
/
controllers
/
calendar.php
      return ( ((strtotime($child->startdate()) <= strtotime(date("Y-m-d 0:00:00"))) &&
                ((strtotime($child->enddate())+ (1 * 22 * 60 * 60)) >= time())) || strtotime($child->startdate()) > strtotime(date("Y-m-d 0:00:00")));
  };
 
  function filterPast($child) {
      return ( (strtotime($child->enddate()) < strtotime(date("Y-m-d 23:59:59")) + (1 * 22 * 60 * 60)));
  };
 
  function filterUpcomingEv($child) {
    return ( strtotime($child->datetime()) > strtotime(date("Y-m-d 0:00:00")));
  }
 
  function filterPastEv($child) {
    return ( (strtotime($child->datetime()) < strtotime(date("Y-m-d 23:59:59"))) );
  };
 
  if($selectedexhibitionname != ''){
 
    $exhibitionpage = page(SPACES_PATH.'/spaces/'.$selectedspace.'/'.$selectedexhibitionname);
    $exhibitions = page(SPACES_PATH.'/spaces/'.$selectedspace.'/'.$selectedexhibitionname)->children()->visible()->sortBy('datetime', 'asc');
  }
  else{
    $exhibitions = new Pages();
 
    if ($selectedtype == 'event') {
 
        $exhibitions->add($site->index()->filterBy('intendedTemplate', 'event')->visible());
        $specialeventdates = $site->index()->filterBy('intendedTemplate', 'specialevent')->visible();
 
        $exhibitions->add($specialeventdates);
        $exhibitions = $exhibitions->sortBy('datetime', 'asc');
 
        if($selectedspace != ''){
 
          $selectedspacename = page(SPACES_PATH.'/spaces/'.$selectedspace)->name();
          $exhibitions = page(SPACES_PATH.'/spaces/'.$selectedspace)->children()->children()->visible()->sortBy('datetime', 'asc');
        }
    } else {
      $exhibitions->add($site->index()->filterBy('intendedTemplate', 'exhibition')->visible());
      $specialevents = $site->index()->filterBy('intendedTemplate', 'specialevents')->visible();

Environment & details:

Key Value
Kirby Toolkit v2.5.10
Kirby CMS v2.5.10
empty
empty
empty
empty
empty
Key Value
REDIRECT_REMOTE_ADDR_ANON 54.225.32.0
REDIRECT_HOME /is/htdocs/wp12610961_MDNS0JU9O9/
REDIRECT_USER wp12610961
REDIRECT_MAGICK_TEMPORARY_PATH /is/htdocs/user_tmp/wp12610961_MDNS0JU9O9
REDIRECT_MAGICK_TMPDIR /is/htdocs/user_tmp/wp12610961_MDNS0JU9O9
REDIRECT_TMP /is/htdocs/user_tmp/wp12610961_MDNS0JU9O9
REDIRECT_TMPDIR /is/htdocs/user_tmp/wp12610961_MDNS0JU9O9
REDIRECT_STATUS 200
REMOTE_ADDR_ANON 54.225.32.0
HOME /is/htdocs/wp12610961_MDNS0JU9O9/
USER wp12610961
MAGICK_TEMPORARY_PATH /is/htdocs/user_tmp/wp12610961_MDNS0JU9O9
MAGICK_TMPDIR /is/htdocs/user_tmp/wp12610961_MDNS0JU9O9
TMP /is/htdocs/user_tmp/wp12610961_MDNS0JU9O9
TMPDIR /is/htdocs/user_tmp/wp12610961_MDNS0JU9O9
HTTP_HOST www.aic.cologne
HTTP_X_REAL_IP 54.225.32.164
HTTP_X_FORWARDED_FOR 54.225.32.164
HTTP_CONNECTION close
HTTP_ACCEPT_ENCODING x-gzip, gzip, deflate
HTTP_USER_AGENT CCBot/2.0 (http://commoncrawl.org/faq/)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_IF_MODIFIED_SINCE Mon, 21 May 2018 12:43:58 GMT
PATH /bin:/usr/bin:/usr/ucb:/usr/bsd:/usr/local/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME www.aic.cologne
SERVER_ADDR 127.0.0.56
SERVER_PORT 80
REMOTE_ADDR 54.225.32.164
DOCUMENT_ROOT /is/htdocs/wp12610961_MDNS0JU9O9/www/aic_liveneu/
REQUEST_SCHEME http
CONTEXT_PREFIX
CONTEXT_DOCUMENT_ROOT /is/htdocs/wp12610961_MDNS0JU9O9/www/aic_liveneu/
SERVER_ADMIN info@aic.cologne
SCRIPT_FILENAME /is/htdocs/wp12610961_MDNS0JU9O9/www/aic_liveneu/index.php
REMOTE_PORT 39904
REDIRECT_URL /calendar/exhibition/kjubh/www.kjubh.de
GATEWAY_INTERFACE CGI/1.1
SERVER_PROTOCOL HTTP/1.0
REQUEST_METHOD GET
QUERY_STRING
REQUEST_URI /calendar/exhibition/kjubh/www.kjubh.de
SCRIPT_NAME /index.php
PHP_SELF /index.php
REQUEST_TIME_FLOAT 1531931519,206
REQUEST_TIME 1531931519
argv Array ( )
argc 0
Key Value
APACHE_PID_FILE /var/run/apache2/apache2.pid
APACHE_LOG_DIR /var/log/apache2
PWD /root
LANG en_US.UTF-8
SHLVL 1
DAVLOCKFILE /var/lock/apache2/DavLockDB-modphp56
APACHE_LOCK_DIR /var/lock/apache2
APACHE_RUN_DIR /var/run/apache2
_ /usr/sbin/apache2
0. Whoops\Handler\PrettyPageHandler