I have created a custom module and it’s working fine,if I only run php bin/magento setup:upgrade command. However, when I attempt to run php bin/magento s:d:c it raises an exception. Type Error occurred when creating object: VendorModuleNameModelResourceModelPriceResultCollectionInterceptor, Argument 5 passed to VendorModuleNameModelResourceModelPriceResultCollectionInterceptor::__construct() must implement interface MagentoFrameworkDBAdapterAdapterInterface or be null, string […]