Fatal error: Call to a member function toArray() on a non-object in /var/www/domains/oudekerkje.nl/www/modules/agenda/controllers/index.controller.php on line 242 Exception: Call to a member function toArray() on a non-object

Stacktrace:

array(2) { [0]=> array(4) { ["function"]=> string(14) "handleShutdown" ["class"]=> string(14) "ExceptionTrace" ["type"]=> string(2) "::" ["args"]=> array(0) { } } [1]=> array(3) { ["file"]=> string(68) "/var/www/domains/oudekerkje.nl/www/includes/ExceptionTrace.class.php" ["line"]=> int(26) ["function"]=> string(12) "require_once" } }

Server:

array(35) { ["REDIRECT_SCRIPT_URL"]=> string(37) "/agenda/lezen/i-64/Beers_Creatief_1_1" ["REDIRECT_SCRIPT_URI"]=> string(58) "https://oudekerkje.nl/agenda/lezen/i-64/Beers_Creatief_1_1" ["REDIRECT_HTTPS"]=> string(2) "on" ["REDIRECT_SSL_TLS_SNI"]=> string(13) "oudekerkje.nl" ["REDIRECT_STATUS"]=> string(3) "200" ["SCRIPT_URL"]=> string(37) "/agenda/lezen/i-64/Beers_Creatief_1_1" ["SCRIPT_URI"]=> string(58) "https://oudekerkje.nl/agenda/lezen/i-64/Beers_Creatief_1_1" ["HTTPS"]=> string(2) "on" ["SSL_TLS_SNI"]=> string(13) "oudekerkje.nl" ["HTTP_USER_AGENT"]=> string(40) "CCBot/2.0 (https://commoncrawl.org/faq/)" ["HTTP_ACCEPT"]=> string(63) "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8" ["HTTP_HOST"]=> string(13) "oudekerkje.nl" ["HTTP_CONNECTION"]=> string(10) "Keep-Alive" ["HTTP_ACCEPT_ENCODING"]=> string(4) "gzip" ["PATH"]=> string(28) "/usr/local/bin:/usr/bin:/bin" ["SERVER_SIGNATURE"]=> string(75) "
Apache/2.2.22 (Ubuntu) Server at oudekerkje.nl Port 443
" ["SERVER_SOFTWARE"]=> string(22) "Apache/2.2.22 (Ubuntu)" ["SERVER_NAME"]=> string(13) "oudekerkje.nl" ["SERVER_ADDR"]=> string(13) "77.95.252.143" ["SERVER_PORT"]=> string(3) "443" ["REMOTE_ADDR"]=> string(11) "54.80.93.19" ["DOCUMENT_ROOT"]=> string(34) "/var/www/domains/oudekerkje.nl/www" ["SERVER_ADMIN"]=> string(23) "webmaster@oudekerkje.nl" ["SCRIPT_FILENAME"]=> string(44) "/var/www/domains/oudekerkje.nl/www/index.php" ["REMOTE_PORT"]=> string(5) "33138" ["REDIRECT_QUERY_STRING"]=> string(38) "m=agenda/lezen/i-64/Beers_Creatief_1_1" ["REDIRECT_URL"]=> string(37) "/agenda/lezen/i-64/Beers_Creatief_1_1" ["GATEWAY_INTERFACE"]=> string(7) "CGI/1.1" ["SERVER_PROTOCOL"]=> string(8) "HTTP/1.1" ["REQUEST_METHOD"]=> string(3) "GET" ["QUERY_STRING"]=> string(38) "m=agenda/lezen/i-64/Beers_Creatief_1_1" ["REQUEST_URI"]=> string(76) "/agenda/lezen/i-64/Beers_Creatief_1_1?m=agenda/lezen/i-64/Beers_Creatief_1_1" ["SCRIPT_NAME"]=> string(10) "/index.php" ["PHP_SELF"]=> string(10) "/index.php" ["REQUEST_TIME"]=> int(1534837027) }