- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2017
07:45 AM
11-22-2017
07:45 AM
Dependency Injection Argument 4 passed to Custom\Module\MagentoU\Test::__construct() must be an inst
While working with the magento exercises provided by MagentoU I found issues while working with dependency injection
Argument 4 passed to Custom\Module\MagentoU\Test::__construct() must be an instance of Custom\Module\Api\ProductRepositoryInterface, instance of Magento\Catalog\Model\ProductRepository\Interceptor given .
Labels:
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2017
09:17 AM
11-22-2017
09:17 AM
Re: Dependency Injection Argument 4 passed to Custom\Module\MagentoU\Test::__construct() must be an
Could you please share your entire code file to debug your issue?
If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial
Magento 2 Blogs/Tutorial
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-05-2017
11:49 PM
12-05-2017
11:49 PM
Re: Dependency Injection Argument 4 passed to Custom\Module\MagentoU\Test::__construct() must be an
@Rakesh Jesadiya wrote:
Could you please share your entire code file to debug your issue?
Please download the code from here