Notice: Trying to get property of non-object in /var/www/html/site/templates/activities-detail.php on line 35

Notice: Trying to get property of non-object in /var/www/html/site/templates/activities-detail.php on line 36

Fatal error: Uncaught Error: Call to a member function count() on null in /var/www/html/site/templates/activities-detail.php:36 Stack trace: #0 /var/www/html/wire/core/TemplateFile.php(287): require() #1 /var/www/html/wire/core/Wire.php(380): ProcessWire\TemplateFile->___render() #2 /var/www/html/wire/core/WireHooks.php(723): ProcessWire\Wire->_callMethod('___render', Array) #3 /var/www/html/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array) #4 /var/www/html/wire/modules/PageRender.module(514): ProcessWire\Wire->__call('render', Array) #5 /var/www/html/wire/core/Wire.php(383): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent)) #6 /var/www/html/wire/core/WireHooks.php(723): ProcessWire\Wire->_callMethod('___renderPage', Array) #7 /var/www/html/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\PageRender), 'renderPage', Array) #8 /var/www/html/wire/core/WireHooks.php(822): ProcessWire\Wire->__call('renderPage', Array) #9 /va in /var/www/html/site/templates/activities-detail.php on line 36

Fatal Error: Uncaught Error: Call to a member function count() on null in /var/www/html/site/templates/activities-detail.php:36
Stack trace:
#0 /var/www/html/wire/core/TemplateFile.php(287): require()
#1 /var/www/html/wire/core/Wire.php(380): ProcessWire\TemplateFile->___render()
#2 /var/www/html/wire/core/WireHooks.php(723): ProcessWire\Wire->_callMethod('___render', Array)
#3 /var/www/html/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array)
#4 /var/www/html/wire/modules/PageRender.module(514): ProcessWire\Wire->__call('render', Array)
#5 /var/www/html/wire/core/Wire.php(383): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent))
#6 /var/www/html/wire/core/WireHooks.php(723): ProcessWire\Wire->_callMethod('___renderPage', Array)
#7 /var/www/html/wire/core/Wire.php(442): ProcessWire\WireHooks->runHooks(Object(ProcessWire\PageRender), 'renderPage', Array)
#8 /var/www/html/wire/core/WireHooks.php(822): ProcessWire\Wire->__call('renderPage', Array)
#9 /va (line 36 of /var/www/html/site/templates/activities-detail.php)


This error message was shown because: site is in debug mode. ($config->debug = true; => /site/config.php). Error has been logged.