Title: 524 errors and time out errors
Last modified: April 1, 2024

---

# 524 errors and time out errors

 *  [websitefix](https://wordpress.org/support/users/websitefix/)
 * (@websitefix)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/524-errors-and-time-out-errors/)
 * Hi, i am trying to delete old posts from my site but i am having serious problems.
   I am using pro cloudflare but this happens if i have cloudflare activated or 
   paused. if i try and delete more than 50 posts at a time then i get a 524 error
 * A timeout occurred Error code 524
 * Visit [cloudflare.com](https://www.cloudflare.com/5xx-error-landing?utm_source=errorcode_524&utm_campaign=www.in2town.co.uk)
   for more information.
 * 2024-04-01 12:27:52 UTC
 * cany anyone please give me advice. i have also tried using wp bulk delete and
   it still has the same problem

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/524-errors-and-time-out-errors/#post-17542674)
 * Error 524 is a Cloudflare-specific error code (ie not a standard HTTP response
   code). This generally means Cloudflare is able to connect to your hosting server,
   but does not receive a response to a request (time out).
 * Since you’re executing bulk actions, it’s likely you’re hitting some PHP limit
   on your hosting server: maybe OOM (out of memory), maybe PHP timeout, or something
   else.
 * Pause Cloudflare. [https://developers.cloudflare.com/fundamentals/setup/manage-domains/pause-cloudflare/](https://developers.cloudflare.com/fundamentals/setup/manage-domains/pause-cloudflare/)
 * With Cloudflare paused properly, your site may still be broken… but you shouldn’t
   see Error code 524 or the Cloudflare error page.
 * Instead, you should see some other error message directly from your website/hosting
   server. This is what you need to act on. (NB: You may have to check tour server’s
   error logs or turn on [WordPress debugging](https://developer.wordpress.org/advanced-administration/debug/debug-wordpress/).)
 *  Thread Starter [websitefix](https://wordpress.org/support/users/websitefix/)
 * (@websitefix)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/524-errors-and-time-out-errors/#post-17542725)
 * i have paused it and still getting 524 error
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/524-errors-and-time-out-errors/#post-17542740)
 * What’s the URL?
 *  Thread Starter [websitefix](https://wordpress.org/support/users/websitefix/)
 * (@websitefix)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/524-errors-and-time-out-errors/#post-17542833)
 * i am now getting the below. the url is in2town.co.uk
 * Request Timeout
 * This request takes too long to process, it is timed out by the server. If it 
   should not be timed out, please contact administrator of this web site to increase‘
   Connection Timeout’.
 *  [George Appiah](https://wordpress.org/support/users/gappiah/)
 * (@gappiah)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/524-errors-and-time-out-errors/#post-17543857)
 * Well, the error message pretty much sums it up and tells you what to do.
 * Try increasing your PHP executing time (`max_execution_time`).
 * If you’re running Apache, you can do something like this to your `.htaccess` 
   file:
 * `php_value max_execution_time 300`
 * Or put something like this in your WordPress configuration file `wp-config.php`.
 * `set_time_limit(300);`
 * Note that the number 300 shows the time limit in seconds (ie 5 minutes). Change
   this as necessary.
 *  Thread Starter [websitefix](https://wordpress.org/support/users/websitefix/)
 * (@websitefix)
 * [2 years, 1 month ago](https://wordpress.org/support/topic/524-errors-and-time-out-errors/#post-17551008)
 * thank you for the advice. i have tried what you have suggest. i have put the 
   value into my htaccess file. my hosting company have said it is down to my php
   limits on my hosting plan. i am on cloud professional [https://support.hostinger.com/en/articles/6976044-parameters-and-limits-of-hosting-plans](https://support.hostinger.com/en/articles/6976044-parameters-and-limits-of-hosting-plans)
 * are they correct. i cannot even delete 50 posts at a time without getting errors.
 *  [William](https://wordpress.org/support/users/iowilliam/)
 * (@iowilliam)
 * [1 year, 9 months ago](https://wordpress.org/support/topic/524-errors-and-time-out-errors/#post-17928014)
 * Is also worth checking if your host is using a firewall or something like outgoing
   connection blocker. Woocommerce’s checkout can develop this issue that way. Legit
   CDN and hosting server IPs get blocked and Cloudflare times out while the host
   fails.

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘524 errors and time out errors’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 7 replies
 * 3 participants
 * Last reply from: [William](https://wordpress.org/support/users/iowilliam/)
 * Last activity: [1 year, 9 months ago](https://wordpress.org/support/topic/524-errors-and-time-out-errors/#post-17928014)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
