cancel
Showing results for 
Search instead for 
Did you mean: 

White Screen on frontend after bin/magento setup:upgrade

White Screen on frontend after bin/magento setup:upgrade

Hi, I have a strange problem - I get a white screen on the frontend (backend is ok) after running the command:

php bin/magento setup:upgrade

 

I have test Magento 2.3.5 system on which I have previously installed new extensions/modules without any problems. I added in a module derived from tutorial by a well known extension provider then went through the procedure of:

 

php bin/magento module:enable Module_Name
php bin/magento setup:upgrade

 

The module worked on the backend in that it added a column to the Sales grid as planned but then I noticed a blank screen on the frontend. PHP memory_limit is set to 756M so that shouldn't be the problem.

I kept restoring from backup and trying things and in the end straight after restoring tried just the setup:upgrade command with no new module in place and got the white screen so it was nothing to do with the module.

 

So have working website then do php bin/magento setup:upgrade then white screen.

Any ideas anyone?

1 REPLY 1

Re: White Screen on frontend after bin/magento setup:upgrade

Hello @traknet 

After running bin/magento setup:upgrade please run below commands also 

php bin/magento setup:static-content:deploy -f
php bin/magento indexer:reindex
php bin/magento cache:flush

Happy coding Smiley Happy