Fatal error: Uncaught TypeError: Argument 1 passed to Lego\Items\Controllers\FrontendController::canViewItem() must implement interface Lego\Items\Repository\Item\ModelInterface, boolean given, called in /home/alhaq/aurora/src/items/src/Controllers/FrontendController.php on line 223 and defined in /home/alhaq/aurora/src/items/src/Controllers/FrontendController.php:417
Stack trace:
#0 /home/alhaq/aurora/src/items/src/Controllers/FrontendController.php(223): Lego\Items\Controllers\FrontendController->canViewItem(false)
#1 /home/alhaq/aurora/src/items/src/Controllers/FrontendController.php(37): Lego\Items\Controllers\FrontendController->pageView('publication.php')
#2 [internal function]: Lego\Items\Controllers\FrontendController->indexAction('publication.php')
#3 [internal function]: Phalcon\Dispatcher->callActionMethod(Object(Lego\Items\Controllers\FrontendController), 'indexAction', Array)
#4 /home/alhaq/aurora/src/core/src/Mvc/Application/Handlers/Http.php(68): Phalcon\Dispatcher->dispatch()
#5 /home/alhaq/aurora/src/core in /home/alhaq/aurora/src/items/src/Controllers/FrontendController.php on line 417