cancel
Showing results for 
Search instead for 
Did you mean: 

404 error when trying to refresh Lifetime Statistics

SOLVED

404 error when trying to refresh Lifetime Statistics

My store has made some sales, however in my dashboard I see that lifetime sales, average order, revenues, tax and shipping are zero.

I understand that to be able to see the revenue and other statistics I must update the statistics in the Reports section. I went to Reports -> Statistics -> Refresh Statistics and I have selected all the statistics that I want to update, but when I select "Refresh Lifetime Statistics" I receive a message of "Error 404 page not found". After this, as is to be expected, the information has not been updated in my dashboard and my lifetime sales, revenue and other statistics are still zero.

When I try to "refresh statistics of the last day" the page is loaded normally and indicates that it has been updated correctly, however in my dashboard only the statistics related to the Bestsellers have been updated.

Any ideas about what could be happening and how could it be solved?

stats.JPG

 

stats2.JPG

1 ACCEPTED SOLUTION

Accepted Solutions

Re: 404 error when trying to refresh Lifetime Statistics

Hi @luis_suarez 

This is already magento 2 reported bug in older version. It is fixed in magento 2.3.1. 
Which magento version you are using?
https://github.com/magento/magento2/issues/20819


https://github.com/magento/magento2/issues/20819#issuecomment-462858366


For work around you can look into following commit
https://github.com/magento/magento2/pull/20909/commits/2021665a126b3788163df38ca7f2d1163da0f515

I hope it will help you!

View solution in original post

3 REPLIES 3

Re: 404 error when trying to refresh Lifetime Statistics

Hi @luis_suarez 

This is already magento 2 reported bug in older version. It is fixed in magento 2.3.1. 
Which magento version you are using?
https://github.com/magento/magento2/issues/20819


https://github.com/magento/magento2/issues/20819#issuecomment-462858366


For work around you can look into following commit
https://github.com/magento/magento2/pull/20909/commits/2021665a126b3788163df38ca7f2d1163da0f515

I hope it will help you!

Re: 404 error when trying to refresh Lifetime Statistics

Did it work for you?

Re: 404 error when trying to refresh Lifetime Statistics

 You're absolutely right @Vimal Kumar , I was working on 2.3 version. This has not been a problem in 2.3.1 or 2.3.2 versions