Title: 500 errors for wp-cron.php
Last modified: August 20, 2016

---

# 500 errors for wp-cron.php

 *  ResolvedModerator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [14 years ago](https://wordpress.org/support/topic/500-errors-for-wp-cronphp/)
 * Since installing 3.4RC, I see the following in my logs:
 * `212.38.177.40 - - [29/May/2012:09:14:29 -0500] "POST /wp-cron.php?doing_wp_cron
   =1338300869.644915103912353515xxx0 HTTP/1.0" 500 313 "-" "WordPress/3.4-RC1; 
   http://mywordpress.sterndata.com" 30`
 * The IP address is my own server, so it appears WordPress is calling the cron 
   routines itself. Why is it getting a 500 error?

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

 *  [Ryan Boren](https://wordpress.org/support/users/ryan/)
 * (@ryan)
 * [14 years ago](https://wordpress.org/support/topic/500-errors-for-wp-cronphp/#post-2778270)
 * 3.4 moves from using time() to microtime() for the doing_wp_cron lock. This increases
   the size of the URL but should not exceed limits. Alas, I’m not sure what’s going
   on here.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [14 years ago](https://wordpress.org/support/topic/500-errors-for-wp-cronphp/#post-2778275)
 * They don’t all fail:
 *     ```
       212.38.177.40 - - [30/May/2012:15:49:11 -0500] "POST /wp-cron.php?doing_wp_cron=1338410951.1009919643402099609375 HTTP/1.0" 200 294 "-" "WordPress/3.4-RC1-20950; http://mywordpress.sterndata.com" 311 -
       212.38.177.40 - - [30/May/2012:16:03:30 -0500] "POST /wp-cron.php?doing_wp_cron=1338411810.7593560218811035156250 HTTP/1.0" 500 313 "-" "WordPress/3.4-RC1-20950; http://mywordpress.sterndata.com" 311 -
       212.38.177.40 - - [30/May/2012:16:30:05 -0500] "POST /wp-cron.php?doing_wp_cron=1338413404.9970750808715820312500 HTTP/1.0" 500 313 "-" "WordPress/3.4-RC1-20950; http://mywordpress.sterndata.com" 311 -
       212.38.177.40 - - [30/May/2012:17:12:37 -0500] "POST /wp-cron.php?doing_wp_cron=1338415957.2825150489807128906250 HTTP/1.0" 500 313 "-" "WordPress/3.4-RC1-20950; http://mywordpress.sterndata.com" 311 -
       212.38.177.40 - - [30/May/2012:17:14:06 -0500] "POST /wp-cron.php?doing_wp_cron=1338416046.8062679767608642578125 HTTP/1.0" 200 294 "-" "WordPress/3.4-RC1-20950; http://mywordpress.sterndata.com" 311 -
       ```
   
 *  Moderator [Sergey Biryukov](https://wordpress.org/support/users/sergeybiryukov/)
 * (@sergeybiryukov)
 * WordPress Dev
 * [14 years ago](https://wordpress.org/support/topic/500-errors-for-wp-cronphp/#post-2778278)
 * Any errors in `error_log` (e.g. “Out of memory”)?
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [14 years ago](https://wordpress.org/support/topic/500-errors-for-wp-cronphp/#post-2778284)
 * Nope, there’s no error_log file in wp-admin
 *  Moderator [Sergey Biryukov](https://wordpress.org/support/users/sergeybiryukov/)
 * (@sergeybiryukov)
 * WordPress Dev
 * [14 years ago](https://wordpress.org/support/topic/500-errors-for-wp-cronphp/#post-2778301)
 * It might be in another directory. Generally, when Internal Server Error is issued,
   a distinct error message can be found in the error logs.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [14 years ago](https://wordpress.org/support/topic/500-errors-for-wp-cronphp/#post-2778305)
 * Nope,no error_log. I do, however, log all PHP errors and found this
 * `[31-May-2012 12:48:39] PHP Fatal error: Call to undefined function w3_url_format()
   in /var/www/mywordpress/wordpress/wp-content/plugins/w3-total-cache/lib/W3/Plugin/
   PgCacheAdmin.php on line 213`
 * at the same time as this (when doing the math from CDT to GMT
 * `212.38.177.40 - - [31/May/2012:07:48:39 -0500] "POST /wp-cron.php?doing_wp_cron
   =1338468519.3858940601348876953125 HTTP/1.0" 500 313 "-" "WordPress/3.4-RC1-20950;
   http://mywordpress.sterndata.com" 311 -`
 * It seems that there’s a problem with W3 Total Cache 0.9.2.4 and WP 3.4
 *  Moderator [Ipstenu (Mika Epstein)](https://wordpress.org/support/users/ipstenu/)
 * (@ipstenu)
 * 🏳️‍🌈 Advisor and Activist
 * [14 years ago](https://wordpress.org/support/topic/500-errors-for-wp-cronphp/#post-2778339)
 * I’m running w3tc and 3.4 without that error anywhere.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [14 years ago](https://wordpress.org/support/topic/500-errors-for-wp-cronphp/#post-2778340)
 * I just upgraded to the latest nightly and will monitor my logs (httpd and php
   errors).
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [13 years, 11 months ago](https://wordpress.org/support/topic/500-errors-for-wp-cronphp/#post-2778404)
 * With WP 3.4.1:
 * Looking at my current access_log file,
 * 500 errors on wp-cron.php: 344
    successful wp-cron.php calls: 511

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

The topic ‘500 errors for wp-cron.php’ is closed to new replies.

 * In: [Alpha/Beta/RC](https://wordpress.org/support/forum/alphabeta/)
 * 9 replies
 * 4 participants
 * Last reply from: [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * Last activity: [13 years, 11 months ago](https://wordpress.org/support/topic/500-errors-for-wp-cronphp/#post-2778404)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
