• ResolvedModerator Steven Stern (sterndata)

    (@sterndata)


    Volunteer Forum Moderator

    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)
  • 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)

    (@sterndata)

    Volunteer Forum Moderator

    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

    (@sergeybiryukov)

    WordPress Dev

    Any errors in error_log (e.g. “Out of memory”)?

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    Nope, there’s no error_log file in wp-admin

    Moderator Sergey Biryukov

    (@sergeybiryukov)

    WordPress Dev

    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)

    (@sterndata)

    Volunteer Forum Moderator

    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)

    (@ipstenu)

    🏳️‍🌈 Advisor and Activist

    I’m running w3tc and 3.4 without that error anywhere.

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    I just upgraded to the latest nightly and will monitor my logs (httpd and php errors).

    Moderator Steven Stern (sterndata)

    (@sterndata)

    Volunteer Forum Moderator

    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.