cancel
Showing results for 
Search instead for 
Did you mean: 

'Whoops our bad' error on main store page every day

'Whoops our bad' error on main store page every day

Every day, usually within 1 to 2 hours after midnight, my Magento store starts showing 'Whoops our bad' error on the main page. The admin pages work fine though and flushing Magento cache fixes the thing for another 24 hours or so. Usually it happens once per day, shortly after midnight, but sometimes it happens also during the day, once or twice.

The system log shows no errors and there are no changes done to Magento store in between the incidents.

 

How do I go about identifying what causes it?

3 REPLIES 3

Re: 'Whoops our bad' error on main store page every day

Hi @error0024 ,

 

WIth no other information it sounds like a infrastrucutre problem (maybe).

Maybe you can add some extra monitoring?

WHat about Magento logs, webserver logs, database and maybe, if you are using it, redis?

Maybe some heavy cronjobs running that that time? Can you check the cron_schedule table to be sure all conrjobs are working properly?

Re: 'Whoops our bad' error on main store page every day

Hi @error0024 

 

Here are few commands might be helpfull with the issue you are facing. Run these commands into your Magento root directory.

 

1) sudo php bin/magento indexer:reindex
2) sudo rm -Rf var/cache var/generation var/pagecache var/di
3) sudo php bin/magento setup:di:compile
4) sudo php bin/magento cache:clean
5) sudo php bin/magento cache:flush
6) sudo chmod -R 777 var/ pub/ generated/

I hope it will work for you.

 

Thanks

 

--
Problem solved? Click Accept as Solution!

Re: 'Whoops our bad' error on main store page every day

Any news how did you solve it?