Fatal error: Uncaught exception Error with message Call to a member function row() on null thrown in system/modules/t4c_portfolio/models/PortfolioItemModel.php on line 51
#0 system/modules/t4c_portfolio/modules/ModulePortfolio.php(49): themes4contao\PortfolioItemModel->generateUrl()
#1 system/modules/t4c_portfolio/modules/ModulePortfolio.php(147): themes4contao\ModulePortfolio->generatePortfolioItem(Object(Contao\Model\Collection), false, 1, 'first even')
#2 system/modules/t4c_portfolio/modules/ModulePortfolioList.php(145): themes4contao\ModulePortfolio->generatePortfolioItems(Object(Contao\Model\Collection))
#3 system/modules/core/modules/Module.php(287): themes4contao\ModulePortfolioList->compile()
#4 system/modules/t4c_portfolio/modules/ModulePortfolioList.php(57): Contao\Module->generate()
#5 system/modules/core/elements/ContentModule.php(59): themes4contao\ModulePortfolioList->generate()
#6 system/modules/core/library/Contao/Controller.php(484): Contao\ContentModule->generate()
#7 system/modules/core/modules/ModuleArticle.php(213): Contao\Controller::getContentElement(Object(Contao\ContentModel), 'main')
#8 system/modules/core/modules/Module.php(287): Contao\ModuleArticle->compile()
#9 system/modules/core/modules/ModuleArticle.php(67): Contao\Module->generate()
#10 system/modules/core/library/Contao/Controller.php(417): Contao\ModuleArticle->generate(false)
#11 system/modules/core/library/Contao/Controller.php(277): Contao\Controller::getArticle(Object(Contao\ArticleModel), false, false, 'main')
#12 system/modules/core/pages/PageRegular.php(133): Contao\Controller::getFrontendModule('0', 'main')
#13 system/modules/core/controllers/FrontendIndex.php(285): Contao\PageRegular->generate(Object(Contao\PageModel), true)
#14 index.php(20): Contao\FrontendIndex->run()
#15 {main}