I just finished a clean installation of Magento 2.2.4. When I try to add a product, it throws an error saying 'Class Dotdigitalgroup\Email\Model\ResourceModel\Catalog\CollectionFactory does not exist' Please help how do I solve this issue?


First, make sure the module is enabled. php bin/magento module:status

Second, make sure that you have run php bin/magento setup:upgrade

If you are not in developer mode, runphp bin/magento setup:di:compile because new classes will not be automatically generated.

If you already are in developer mode, try deleting the generated/code directory.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.