I started getting this error running bin/magento setup:di:compile:

Invalid ExtensionInterface for nonexistent class Interface in file /bitnami/magento/htdocs/app/code/Magento/TestModuleExtensionAttributes/Api/Data/FakeExtensibleTwoInterface.php

Deleting the generated/ and var/ folders did not help, nor did emptying the cache and re-indexing. Has anyone encountered a problem like this?


I believe that you try to run the test on this installation. And test copy test modules in app/code folder and do not remove it.

Please delete app/code/Magento/Test* modules manually and re run compilation

  • Thank you! That did the trick – joslinm Sep 10 at 16:35

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.