cancel
Showing results for 
Search instead for 
Did you mean: 

After installing 2.2.2 Magento error in admin interface

After installing 2.2.2 Magento error in admin interface

After installing 2.2.2 Magento error in admin interface

One or more indexers are invalid. Make sure your Magento cron job is running.

In the Shell client:

 

 php /var/www/users/data/www/dom.com/bin/magento indexer:reindex catalog_  category_product 

PHP Fatal error:  Allowed memory size of 2097152 bytes exhausted (tried to allocate 4096 bytes) in /var/www/users/data/www/dom.com/vendor/zendframework/zend-eventmanager/src/EventManager.php on line 91

 

Tags (1)
1 REPLY

Re: After installing 2.2.2 Magento error in admin interface

@NikolaZ

You have 2 option here.

 

1. increase the memory limit in PHP.ini to let say 1024M and restart Apache/PHP. If you are bot able to do this then coordinate with your hosting provider.

 

2. Try the below command. If it does not work then instead of 1G use 2G and run.

 

php -d memory_limit=1G /var/www/users/data/www/dom.com/bin/magento indexer:reindex catalog_  category_product

 

 

Problem solved? Please give Kudos and accept answer as solution.

Thanks,
Tarandeep
Magento 2 Certified Solution Specialist (x2). Follow me on Twitter