500 Internal Server Error

Trying to access array offset on value of type bool (0)

#0 /var/www/html/sammet/includes/functions.php(128): CM\Exception\ErrorHandler->handleError()
#1 /var/www/html/global/functions/meta-functions.php(94): getCanonicalUrl()
#2 /var/www/html/sammet/templates/head.php(7): getMeta()
#3 /var/www/html/CM/Template/View.php(84): include('...')
#4 /var/www/html/CM/Template/View.php(92): CM\Template\View->render()
#5 /var/www/html/CM/Engine.php(358): CM\Template\View->fetch()
#6 [internal function]: CM\Engine->_render()
#7 /var/www/html/CM/Core/Dispatcher.php(143): call_user_func_array()
#8 /var/www/html/CM/Core/Dispatcher.php(126): CM\Core\Dispatcher->invokeMethod()
#9 /var/www/html/CM/Core/Dispatcher.php(52): CM\Core\Dispatcher->execute()
#10 /var/www/html/CM/Engine.php(119): CM\Core\Dispatcher->run()
#11 /var/www/html/CM/CM.php(66): CM\Engine->__call()
#12 /var/www/html/sammet/controllers/ItemController.php(108): CM::__callStatic()
#13 /var/www/html/sammet/controllers/ItemController.php(91): ItemController->_renderTemplateItem()
#14 [internal function]: ItemController->viewTemplateItemForPermalink()
#15 /var/www/html/CM/Core/Dispatcher.php(146): call_user_func_array()
#16 /var/www/html/CM/Core/Dispatcher.php(126): CM\Core\Dispatcher->invokeMethod()
#17 /var/www/html/CM/Net/Router.php(115): CM\Core\Dispatcher->execute()
#18 /var/www/html/CM/Engine.php(315): CM\Net\Router->route()
#19 [internal function]: CM\Engine->_start()
#20 /var/www/html/CM/Core/Dispatcher.php(143): call_user_func_array()
#21 /var/www/html/CM/Core/Dispatcher.php(126): CM\Core\Dispatcher->invokeMethod()
#22 /var/www/html/CM/Core/Dispatcher.php(52): CM\Core\Dispatcher->execute()
#23 /var/www/html/CM/Engine.php(119): CM\Core\Dispatcher->run()
#24 /var/www/html/CM/CM.php(66): CM\Engine->__call()
#25 /var/www/html/sammet/index.php(5): CM::__callStatic()
#26 {main}