-
Notifications
You must be signed in to change notification settings - Fork 9.4k
Unable to switch to production mode #9159
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
Comments
Looks like the Magento\Indexer\Model\Config\Reader doesn't exist anymore in the 2.1.5 codebase, see commit abdbc941f03e34e0b78df9cfb129c9c0a76aebb4 . You must be having outdated code somewhere. The trace you provided seems to be incomplete, so it is not clear where this old class name is referenced from. In case it's somewhere in the generated code leftovers, I would suggest clearing |
Possible duplicate of #6185. |
Did you solve the module issue? If you do, try switching to production mode again for results. I have the same behavior and is only possible to switch with |
Hi @baltechies |
…e-deployment [Bengals Team] Test Automation Tasks
When I trying to switch to production mode on magento version 2.1.5 then its throwing the errors like:
Interception cache generation... 7/7 [============================] 100% 3 mins 306.0 MiB
Generated code and dependency injection configuration successfully.
Compilation complete
Starting deployment of static content
Something went wrong while deploying static content. See the error log for details.
Command returned non-zero exit code:
/usr/bin/php -f /opt/bitnami/apps/magento/htdocs/bin/magento setup:static-content:deploy en_US de_DE fr_FR it_IT
-bash-4.2$ php bin/magento module:status
PHP Fatal error: Uncaught Error: Class 'Magento\Indexer\Model\Config\Reader' not found in /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php:93
Stack trace:
#0 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Magento\Indexer...', Array)
#1 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/ObjectManager.php(71): Magento\Framework\ObjectManager\Factory\Compiled->create('Magento\Indexer...')
#2 /opt/bitnami/apps/magento/htdocs/app/code/Manadev/Core/Registries/ConfigurationReaders.php(32): Magento\Framework\ObjectManager\ObjectManager->get('Magento\Indexer...')
#3 /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(93): Manadev\Core\Registries\ConfigurationReaders->__construct(Object(Magento\Framework\ObjectManager\ObjectManager), Array)
#4 /opt/bitnami/apps/magento/htdocs/vendor/magento/fram in /opt/bitnami/apps/magento/htdocs/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93
PHP version is 7.0.6
The text was updated successfully, but these errors were encountered: