You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Magento backend, set indexes to update on schedule.
Run php bin/magento indexer:reindex.
Expected result
All indexes reindexed.
Actual result
[~/www/dev]# bin/magento indexer:reindex -vv
[InvalidArgumentException]
There are no commands defined in the "indexer" namespace.
Exception trace:
() at /home/dev/public_html/dev/vendor/symfony/console/Symfony/Component/Console/Application.php:501
Symfony\Component\Console\Application->findNamespace() at /home/dev/public_html/dev/vendor/symfony/console/Symfony/Component/Console/Application.php:535
Symfony\Component\Console\Application->find() at /home/dev/public_html/dev/vendor/symfony/console/Symfony/Component/Console/Application.php:192
Symfony\Component\Console\Application->doRun() at /home/dev/public_html/dev/vendor/magento/framework/Console/Cli.php:49
Magento\Framework\Console\Cli->doRun() at /home/dev/public_html/dev/vendor/symfony/console/Symfony/Component/Console/Application.php:126
Symfony\Component\Console\Application->run() at /home/dev/public_html/dev/bin/magento:25
Workaround
if i run /opt/bin/php56/bin/php bin/magento indexer:reindex indexing succeeds.
The text was updated successfully, but these errors were encountered:
jackiellowery
changed the title
Indexer not working with PHP 7
Indexer not working with PHP 7 (7.0.4)
Mar 18, 2016
@jackiellowery can you reproduce it on latest version 2.1rc or develop branch using latest PHP7? There are some issues with some versions of PHP7 but 7.0.6 should work ok. I'm not getting this error. If you are, please open a new issue.
Steps to reproduce
2.0.2
. (apache 2.4.18, php 7.0.4, mariadb 10.0.24)php bin/magento indexer:reindex
.Expected result
Actual result
Workaround
/opt/bin/php56/bin/php bin/magento indexer:reindex
indexing succeeds.The text was updated successfully, but these errors were encountered: