Notice: Trying to get property of non-object in /home/mde/public_html/mvc/application/modules/front/controllers/VscProductDetailController.php on line 287

Fatal error: Uncaught TypeError: Argument 2 passed to ConnectedContent::getContentByModuleIdRecordId() must be of the type integer, null given, called in /home/mde/public_html/mvc/application/modules/front/controllers/VscProductDetailController.php on line 287 and defined in /home/mde/public_html/mvc/application/models/ConnectedContent.php:115 Stack trace: #0 /home/mde/public_html/mvc/application/modules/front/controllers/VscProductDetailController.php(287): ConnectedContent->getContentByModuleIdRecordId(91, NULL) #1 /home/mde/public_html/mvc/application/modules/front/controllers/VscProductDetailController.php(170): VscProductDetailController->setParamsViewProductContent() #2 /home/mde/public_html/vendor/zendframework/zendframework1/library/Zend/Controller/Action.php(516): VscProductDetailController->viewAction() #3 /home/mde/public_html/vendor/zendframework/zendframework1/library/Zend/Controller/Dispatcher/Standard.php(308): Zend_Controller_Action->dispatch('viewAction') #4 /home/mde/public_html/vendor/zendframework/zend in /home/mde/public_html/mvc/application/models/ConnectedContent.php on line 115