- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Error when reindexing via SSH
Hi all,
I am trying to reindex all indexes manually via SSH and when I run:
php/bin magento indexer:reindex
I get the following error:
Design Config Grid index has been rebuilt successfully in 00:00:00
PHP Fatal error: Uncaught Error: Class 'Locale' not found in /home/sites/8a/8/8813cc4bb3/public_html/vendor/magento/framework/Locale/Bundle/DataBundle.php:64
Stack trace:
#0 /home/sites/8a/8/8813cc4bb3/public_html/vendor/magento/framework/Locale/Bundle/DataBundle.php(28): Magento\Framework\Locale\Bundle\DataBundle->cleanLocale('en_US')
#1 /home/sites/8a/8/8813cc4bb3/public_html/vendor/magento/framework/Setup/Lists.php(92): Magento\Framework\Locale\Bundle\DataBundle->get('en_US')
#2 /home/sites/8a/8/8813cc4bb3/public_html/vendor/magento/framework/Validator/Locale.php(42): Magento\Framework\Setup\Lists->getLocaleList()
#3 /home/sites/8a/8/8813cc4bb3/public_html/vendor/magento/module-backend/Model/Locale/Resolver.php(72): Magento\Framework\Validator\Locale->isValid(NULL)
#4 /home/sites/8a/8/8813cc4bb3/public_html/vendor/magento/framework/Locale/Resolver.php(70): Magento\Backend\Model\Locale\Resolver->setLocale(NULL)
#5 /home/sites/8a/8/8813cc4bb3/public_html/vendor/magento/module-backend/Model/Locale/Resolver.php(60): Magento\Fr in /home/sites/8a/8/8813cc4bb3/public_html/vendor/magento/framework/Locale/Bundle/Da
What's causing this?
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Error when reindexing via SSH
Hello @DAWS96
Well i think this is known issue and already asked over here, please refer this link - https://community.magento.com/t5/Magento-2-x-Technical-Issues/indexer-reindex-Uncaught-Error-Class-L...
Refer the above link and you can get help to resolve the issue.
Hope it helps !