WordPress Dash timeout and E_ERROR caused by /TimeInterval.php
-
Hi,
I am experiencing an issue with my WordPress / WooCommerce site that involves accessing key pages, such as the Dashboard and the backend of my checkout page.
I was alerted to the issue by the WordPress automatic error monitor that emailed me with the corroborating WooCommerce log:
Error Details
=============
An error of type E_ERROR was caused in line 321 of the file /home/altegrac/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/TimeInterval.php. Error message: Maximum execution time of 300 seconds exceededAnd from the WooCommerce log:
CRITICAL Maximum execution time of 300 seconds exceeded in /home/blanket/public_html/wp-content/plugins/woocommerce/packages/woocommerce-admin/src/API/Reports/TimeInterval.php on line 321
Line 321 from the file:
$next_day->setTimezone( new \DateTimeZone( wc_timezone_string() ) );
When attempting to login to the dash through admin, I received a timeout as announced by Cloudflare.
I have researched what I can to resolve this issue but am yet to find anything concrete. I have run a full plugin troubleshoot attempting to find out more and I disabled WooCommerce, downloaded a new package and uploaded via FTP to ensure that it’s not just a corrupted file from something I did.
The snippet that @forecastit provided in a similar WC thread has resolved the dashboard accessibility issue.
However, when the issue was first thrown, I was in the process of editing the checkout page using Elementor / Elementor Pro, and the page is no longer accessible. I feel the issue is related and the snippet will only be a bandaid to empower access to the dash for convenience at this point. It’s not the concrete answer that I’m looking for.
Please help me fix this so I can get back to work!
Thank you.
The page I need help with: [log in to see the link]
- The topic ‘WordPress Dash timeout and E_ERROR caused by /TimeInterval.php’ is closed to new replies.