Title: 5.7.1 &#8211; Analytics crashing
Last modified: September 25, 2021

---

# 5.7.1 – Analytics crashing

 *  Resolved [pjjonesnz](https://wordpress.org/support/users/pjjonesnz/)
 * (@pjjonesnz)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/)
 * Updated my website to 5.7.1 (from 5.6.0) yesterday. No trouble at all – it all
   went fine without any trouble.
 * BUT today, some time after my server rolled over past midnight, the WordPress
   dashboard now takes 30+ seconds to load, and the Woocommerce widget said that
   there was a fatal error on the website.
 * I have managed to get things running by deleting all of the analytics data, using
   Analytics -> Settings -> Delete Previously Imported Data, and then disabling 
   the Woocommerce widget on the dashboard.
 * As soon as I re-import all of the analytics data, it crashes things again.
 * If I disable Woocommerce, the dashboard works again. If I have Woocommerce enabled,
   but disable everything else, it has the fatal error.
 * In Analytics Overview (before deleting the analytics data), the Net Sales and
   Orders charts work, but the performance boxes are blank.
 * Anyone have a solution for this?
 * Thanks
    Paul
 * Woocommerce 5.7.1
    Blocks 5.7.2 Action Scheduler 3.2.1 Woocommerce Admin 2.6.5
   Wordpress Version 5.8.1 Woocommerce DB Version: 5.7.1
    -  This topic was modified 4 years, 6 months ago by [pjjonesnz](https://wordpress.org/support/users/pjjonesnz/).

Viewing 15 replies - 16 through 30 (of 32 total)

[←](https://wordpress.org/support/topic/5-7-1-analytics-crashing/?output_format=md)
[1](https://wordpress.org/support/topic/5-7-1-analytics-crashing/?output_format=md)
2 [3](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/3/?output_format=md)

 *  [clownguts](https://wordpress.org/support/users/clownguts/)
 * (@clownguts)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14915396)
 * EDIT: This solution does work just make sure when you copy and paste the code
   you need to redo the apostrophes as they format incorrectly.
 *     ```
       // temporarily dosables WOO Analytics info on dashboard – disables all Woo Analytics!
       add_filter( 'woocommerce_admin_disabled', '__return_true' );
       ```
   
    -  This reply was modified 4 years, 6 months ago by [clownguts](https://wordpress.org/support/users/clownguts/).
      Reason: Solution does work corrected for mistake
 *  [Naturaldude](https://wordpress.org/support/users/markout/)
 * (@markout)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14915616)
 * [@clownguts](https://wordpress.org/support/users/clownguts/) Thank you for your
   comment! Am i doing something completely wrong? I added the code in the function.
   php. I even made a screenshot:
 * > [View post on imgur.com](https://imgur.com/a/HH6iAnC)
 * But when im activating Woocommerce the backend will just freeze again and is 
   not accessible.
    -  This reply was modified 4 years, 6 months ago by [Naturaldude](https://wordpress.org/support/users/markout/).
 *  [Naturaldude](https://wordpress.org/support/users/markout/)
 * (@markout)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14916264)
 * Want to give an update for my temporarily fix. I have downgraded WordPress to
   5.6.2 and Woocommerce isn’t giving any problems anymore.
 *  Thread Starter [pjjonesnz](https://wordpress.org/support/users/pjjonesnz/)
 * (@pjjonesnz)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14918351)
 * HI [@markout](https://wordpress.org/support/users/markout/)
 * Good to hear your temporary solution is working. Since that functions.php fix
   didn’t work, it does sound slightly different from the problem I’m having.
 * Hopefully we’ll get a solution for the problem soon.
 *  [clownguts](https://wordpress.org/support/users/clownguts/)
 * (@clownguts)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14918516)
 * [@markout](https://wordpress.org/support/users/markout/) I’d say your issue must
   be slightly different as you have that functions line correct. Glad the downgrade
   sorted it out however there is a security vulnerability in versions under 5.7.0
   so just be mindful of that [https://developer.woocommerce.com/2021/09/22/important-security-patch-released-in-woocommerce/](https://developer.woocommerce.com/2021/09/22/important-security-patch-released-in-woocommerce/)
 *  [sipdesign](https://wordpress.org/support/users/sipdesign/)
 * (@sipdesign)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14918771)
 * Hi guys to confirm 5.6.1 version didn’t work for me. At the moment my client 
   is logging in & then choosing to use the report area for sales data. I’m back
   on 5.7.1 for now hopefully fix in the next update? currently when selecting the
   WP Dashboard the site CPU hits the ceiling & gives a 500 Error..
 * Sale are still coming through the store at least & this is def a Woocommerce 
   dashboard Analytics issue..
 * Good luck guys!
 * Also just received the error from WP:
    An error of type E_ERROR was caused in
   line 321 of the file: /wp-content/plugins/woocommerce/packages/woocommerce-admin/
   src/API/Reports/TimeInterval.php. Error message: Maximum execution time of 30
   seconds exceeded
    -  This reply was modified 4 years, 6 months ago by [sipdesign](https://wordpress.org/support/users/sipdesign/).
 *  [Naturaldude](https://wordpress.org/support/users/markout/)
 * (@markout)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14919075)
 * [@clownguts](https://wordpress.org/support/users/clownguts/) [@sipdesign](https://wordpress.org/support/users/sipdesign/)
 * Sorry maybe I was a bit unclear. I downgraded WordPress to 5.6.1. My woocommerce
   plug-in is still version 5.7.1 (currently the latest available). I also tried
   downgrading the woocommerce plug-in earlier but that had no effect. My only temporarily
   solution was to downgrade WordPress. Really interested if that also helps for
   you.
 *  [ozbraai](https://wordpress.org/support/users/ozbraai/)
 * (@ozbraai)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14930187)
 * Hey guys, I had exactly the same issue. I am in NSW and I assumed it had to do
   with daylight savings starting on Sunday.
 * I think maybe they got the day wrong from when daylight savings starts so I changed
   my timezone in settings to Brisbane and it resolved the issue for me.
 * I will change my TimeZone back to Sydney on Monday after daylight savings started
   to see if the issue “disappeared”
    -  This reply was modified 4 years, 6 months ago by [ozbraai](https://wordpress.org/support/users/ozbraai/).
    -  This reply was modified 4 years, 6 months ago by [ozbraai](https://wordpress.org/support/users/ozbraai/).
 *  [beehavendesigzn](https://wordpress.org/support/users/beehavendesigzn/)
 * (@beehavendesigzn)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14930280)
 * Experiencing the same error issue here too, 1 hour ago I received the error from
   WP:
    An error of type E_ERROR was caused in line 321 of the file: /wp-content/
   plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/TimeInterval.php.
   Error message: Maximum execution time of 30 seconds exceeded
 * Changing the time zone as suggested by ozbraai also worked for us being located
   in NSW Australia.
 * We hope this is resolved in a future update of Woocommerce
 *  [big00ballz](https://wordpress.org/support/users/big00ballz/)
 * (@big00ballz)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14930599)
 * hey guys i hope this solves your issue. it worked for me 🙂
 *     ```
       That issue is happening recently with the GoDaddy hosting. To fix it, please add the following to your .htaccess file
   
       # BEGIN Line too long fix
       <IfModule mod_substitute.c>
       SubstituteMaxLineLength 10M
       </IfModule>
       # END Line too long fix
       ```
   
 *  [saruncloudspring](https://wordpress.org/support/users/saruncloudspring/)
 * (@saruncloudspring)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14930799)
 * Hi
 * I am also facing the same issue I can’t login into the wordrpess admin area getting
   a 504 error. The issue is due to the latest version of woocommerce.
 * [@big00ballz](https://wordpress.org/support/users/big00ballz/) The above code
   is for Apache servers anybody knows the equivalent of NGINX code that could be
   used NGINX server then I can try that. My site hosted on Kinsta
 * Thanks
 *  [Andrew](https://wordpress.org/support/users/andrewjohnstrong/)
 * (@andrewjohnstrong)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14931746)
 * Reverting to WooCommerce 5.7.0 will fix the issue.
 *  [Mirko P.](https://wordpress.org/support/users/rainfallnixfig/)
 * (@rainfallnixfig)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14936550)
 * Hi there,
 * Thank you all for your reports.
 * I’ve not been able to reproduce the issue by upgrading WooCommerce to version
   5.7.1. In this case, I recommend that you get more insights directly from WooCommerce
   developers and open a bug report here:
 * [https://github.com/woocommerce/woocommerce/issues/new/choose](https://github.com/woocommerce/woocommerce/issues/new/choose)
 * Doing that will bring it straight to the attention of the core developers, and
   they can check the issue directly.
 * Cheers.
 *  [epaslv](https://wordpress.org/support/users/epaslv/)
 * (@epaslv)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14938112)
 * I can confirm having this issue also now on atleast 3 sites. One on
    PHP 7.35
   two on 7.4.24.
 * All sites have latest updated plugins.
 *  [fsooffice](https://wordpress.org/support/users/fsooffice/)
 * (@fsooffice)
 * [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/2/#post-14941072)
 * Today’s 2.7.1 update to “woocommerce admin” has resolved this issue for us and
   we no longer need “add_filter(‘woocommerce_admin_disabled’,’__return_true’);”
   in our theme’s functions.php file.

Viewing 15 replies - 16 through 30 (of 32 total)

[←](https://wordpress.org/support/topic/5-7-1-analytics-crashing/?output_format=md)
[1](https://wordpress.org/support/topic/5-7-1-analytics-crashing/?output_format=md)
2 [3](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/3/?output_format=md)
[→](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/3/?output_format=md)

The topic ‘5.7.1 – Analytics crashing’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

 * 32 replies
 * 16 participants
 * Last reply from: [abwaita a11n](https://wordpress.org/support/users/abwaita/)
 * Last activity: [4 years, 6 months ago](https://wordpress.org/support/topic/5-7-1-analytics-crashing/page/3/#post-14943087)
 * Status: resolved