Uikit 3 site/blog profile

This is a simple ProcessWire site profile that is somewhat like our default site profile, but also includes a blog. It demonstrates development of various features including some new to ProcessWire 3.x. The front-end of this profile uses the Uikit 3 library and includes a library of time-saving functions for working with Uikit 3. Below are a few highlights you'll find in this site profile:


In the blog


Fatal error: Uncaught Error: Call to a member function count() on null in /usr/www/users/hdatox/root/site/templates/_uikit.php:813 Stack trace: #0 /usr/www/users/hdatox/root/site/templates/home.php(21): ProcessWire\ukBlogPost(Object(ProcessWire\Page)) #1 /usr/www/users/hdatox/root/wire/core/TemplateFile.php(287): require('/usr/www/users/...') #2 /usr/www/users/hdatox/root/wire/core/Wire.php(380): ProcessWire\TemplateFile->___render() #3 /usr/www/users/hdatox/root/wire/core/WireHooks.php(823): ProcessWire\Wire->_callMethod('___render', Array) #4 /usr/www/users/hdatox/root/wire/core/Wire.php(450): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array) #5 /usr/www/users/hdatox/root/wire/modules/PageRender.module(536): ProcessWire\Wire->__call('render', Array) #6 /usr/www/users/hdatox/root/wire/core/Wire.php(383): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent)) #7 /usr/www/users/hdatox/root/wire/core/WireHooks.php(823): ProcessWire\Wire->_callMethod('___renderPage', Array) #8 / in /usr/www/users/hdatox/root/site/templates/_uikit.php on line 813

Fatal Error: Uncaught Error: Call to a member function count() on null in /usr/www/users/hdatox/root/site/templates/_uikit.php:813
Stack trace:
#0 /usr/www/users/hdatox/root/site/templates/home.php(21): ProcessWire\ukBlogPost(Object(ProcessWire\Page))
#1 /usr/www/users/hdatox/root/wire/core/TemplateFile.php(287): require('/usr/www/users/...')
#2 /usr/www/users/hdatox/root/wire/core/Wire.php(380): ProcessWire\TemplateFile->___render()
#3 /usr/www/users/hdatox/root/wire/core/WireHooks.php(823): ProcessWire\Wire->_callMethod('___render', Array)
#4 /usr/www/users/hdatox/root/wire/core/Wire.php(450): ProcessWire\WireHooks->runHooks(Object(ProcessWire\TemplateFile), 'render', Array)
#5 /usr/www/users/hdatox/root/wire/modules/PageRender.module(536): ProcessWire\Wire->__call('render', Array)
#6 /usr/www/users/hdatox/root/wire/core/Wire.php(383): ProcessWire\PageRender->___renderPage(Object(ProcessWire\HookEvent))
#7 /usr/www/users/hdatox/root/wire/core/WireHooks.php(823): ProcessWire\Wire->_callMethod('___renderPage', Array)
#8 / (line 813 of /usr/www/users/hdatox/root/site/templates/_uikit.php)


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