Notice: Trying to access array offset on value of type bool in /home/cace7956/ on line 62

Fatal error: Uncaught TypeError: Argument 1 passed to Model\PortfolioModel::getPortfolioImages() must be of the type int, null given, called in /home/cace7956/ on line 62 and defined in /home/cace7956/ Stack trace: #0 /home/cace7956/ Model\PortfolioModel->getPortfolioImages(NULL) #1 [internal function]: Controller\Front\PortfolioController->detail('1-rue-des-poiss...') #2 /home/cace7956/ call_user_func_array(Array, Array) #3 /home/cace7956/ W\Router\AltoRouter\Matcher->match() #4 /home/cace7956/ W\App->run() #5 {main} thrown in /home/cace7956/ on line 27