-
Notifications
You must be signed in to change notification settings - Fork 9.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error on production deployment - "PHP Fatal error: Cannot instantiate interface" #3195
Comments
@lilmuckers Do you have config.php in app/etc? From the example it looks like you did not install Magento correctly. Please use |
we don't have a config.php So you're saying i shouldn't just swap in the env.php - but instead run the install command on deployment? okay, i'll give that a try. |
@lilmuckers, any follow up on this? Did you try? |
According to contributor guide, tickets without response for two weeks should be closed. |
[EngCom] Public Pull Requests - GraphQL
Hi there
I have automated deployment of my magento 2 CE site using deploybot, and it's throwing the following error on the deployment:
PHP Fatal error: Cannot instantiate interface: Magento\Framework\Indexer\ConfigInterface
magento 2 is being deployed using git and composer - Where the only files in the git repo are the base stripped down directories:
but basically it's the following (this isn't exactly it, but i am able to recreate the bug by doing this):
It seems that the
setup:di:compile
command is always returning the fatal error.It doesn't seem to effect the site once it goes live - but i'm worried that something is wrong that i'm not seeing.
What am i doing wrong in my procedure?
The text was updated successfully, but these errors were encountered: