Incompatible argument type: Required type: MagentoFrameworkEntityManagerMetadataPool. Actual type: string; when trying to override resource model
I am trying to override the Resource model for the cms page file in the sitemap module my code is <?php namespace MyModuleSiteMapModelResourceModelCms; use MagentoCmsApiDataPageInterface; use MagentoCmsApiGetUtilityPageIdentifiersInterface; use MagentoCmsModelPage as CmsPage; use MagentoFrameworkAppObjectManager; use MagentoFrameworkDBSelect; use MagentoFrameworkEntityManagerEntityManager; use MagentoFrameworkEntityManagerMetadataPool; use… Read More »Incompatible argument type: Required type: MagentoFrameworkEntityManagerMetadataPool. Actual type: string; when trying to override resource model