Magento troubleshooting

Created by Tys van den Heuvel, Modified on Sun, 19 Jun, 2022 at 12:08 PM by Tys van den Heuvel

Adding new extension modules: Cannot instantiate interface

This can happen when adding additional modules to the Commerce365 Magento 2 extension. The underlying cause is a caching thing. The solution is to clear the \generated\ and \var\cache\ folders. And then run setup:upgrade and setup:di:compile. Also run setup:static-content:deploy when not running Magento in developer mode.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article