showing this error while clicking on a menu item created for a grid
public function execute()
{
/** @var MagentoBackendModelViewResultPage $resultPage */
$resultPage = $this->_resultPageFactory->create();
$resultPage->setActiveMenu(‘Vendor_Grid::menu_id’);
$resultPage->getConfig()->getTitle()->prepend(__(‘Certificate Grid List’));
return $resultPage;
}