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.162.15.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.162.15.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.162.15.31
HTTP_X_FORWARDED_FOR 54.162.15.31
HTTP_CONNECTION close
HTTP_USER_AGENT CCBot/2.0 (https://commoncrawl.org/faq/)
HTTP_ACCEPT text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
HTTP_IF_MODIFIED_SINCE Wed, 18 Jul 2018 16:31:59 GMT
HTTP_ACCEPT_ENCODING gzip
PATH /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
SERVER_SIGNATURE
SERVER_SOFTWARE Apache
SERVER_NAME www.aic.cologne
SERVER_ADDR 127.0.0.56
SERVER_PORT 80
REMOTE_ADDR 54.162.15.31
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 58618
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 1537387816,755
REQUEST_TIME 1537387816
argv Array ( )
argc 0
Key Value
APACHE_PID_FILE /var/run/apache2/apache2.pid
MONIT_DATE Wed, 19 Sep 2018 00:55:28
MONIT_HOST wp413
APACHE_LOG_DIR /var/log/apache2
PATH /usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
PWD /
LANG en_US.UTF-8
MONIT_EVENT Connection failed
SHLVL 3
LANGUAGE en_US.UTF-8
MONIT_SERVICE webserver
APACHE_LOCK_DIR /var/lock/apache2
APACHE_RUN_DIR /var/run/apache2
_SYSTEMCTL_SKIP_REDIRECT true
MONIT_DESCRIPTION failed protocol test [HTTP] at [127.0.0.255]:80/phpinfo-modphp56.php [TCP/IP] -- Connection refused
_ /usr/sbin/apache2
0. Whoops\Handler\PrettyPageHandler