Skip to content
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

SSH Reindex seems broken after data migration #131

Closed
onepack opened this issue Aug 4, 2016 · 2 comments
Closed

SSH Reindex seems broken after data migration #131

onepack opened this issue Aug 4, 2016 · 2 comments

Comments

@onepack
Copy link

onepack commented Aug 4, 2016

Not longer able to reindex after successful data migration:

[user@server public_html]$ php bin/magento indexer:reindex

PHP Fatal error: Uncaught TypeError: Argument 1 passed to Migration\Console\MigrateSettingsCommand::__construct() must be an instance of Migration\Config, instance of Magento\Framework\ObjectManager\ObjectManager given, called in /apps/web/dev3.site.com/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93 and defined in /apps/web/dev3.site.com/public_html/vendor/magento/data-migration-tool/src/Migration/Console/MigrateSettingsCommand.php:24
Stack trace:
#0 /apps/web/dev3.site.com/public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php(93): Migration\Console\MigrateSettingsCommand->__construct(Object(Magento\Framework\ObjectManager\ObjectManager))
#1 /apps/web/dev3.site.com/public_html/vendor/magento/framework/ObjectManager/Factory/Compiled.php(88): Magento\Framework\ObjectManager\Factory\AbstractFactory->createObject('Migration\Conso...', Array)
#2 /apps/web/dev3.site.com/public_html/vendor/magento/framework/ObjectManager/ObjectManager.php(71): M in /apps/web/dev3.site.com/public_html/vendor/magento/data-migration-tool/src/Migration/Console/MigrateSettingsCommand.php on line 24

[user@server public_html]$

@onepack
Copy link
Author

onepack commented Aug 5, 2016

The exact same error occurs when I flush the cache: php bin/magento cache:flush

@onepack
Copy link
Author

onepack commented Aug 5, 2016

I cleared:
var/cache
var/page_cache
var/di

It seems to work again now. Still not sure what caused the initial errors it but this seems to solve the cache and indexer issue.

@onepack onepack closed this as completed Aug 5, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant