Magento 2 “Whoops, our bad” product page
Try re-indexing using the Magento 2 CLI

ssh into the server where your Magento files are and go into your Magento root folder.

cd /var/www/html/magento root folder

From that folder you can access the magento 2 cli with bin/magento

If you can't start it, use chmod +x bin/magento

in order to re-index data via the CLI, use the following command

php bin/magento indexer:reindex

If you want to be sure that NO cache is kept, you can remove the following folders from the var directory with:

rm -rf var/cache var/generation var/pagecache var/di

and then re-compile magento using command

php bin/magento setup:di:compile


Refer my answer on :- My Answer On Magento Stackexchange

Experienced Magento Certified Developer with a demonstrated history of working in the information technology and services industry. Skilled in SQL, PHP, XAMPP, jQuery, and Microsoft Office. Strong engineering professional with a Master of Computer Applications

0 comments:

Post a Comment

Popular Posts

Have You Any Questins Let Us Know.

Contact Us
DENISH VACHHANI
Ahmedabad India