Skip to main content

Magento 2: 'class or interceptor does not exist' error message

If your are getting a 'class or interceptor does not exist' error message in your Magento 2 plugin, a probable solution is to run the following CLI commands in your terminal:

bin/magento setup:upgrade && bin/magento setup:di:compile
Was this article helpful?
Share
Copy Link Share via email

Articles in this section