WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] 500 errors for wp-cron.php (10 posts)

  1. Steven Stern
    Member
    Posted 1 year ago #

    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?

  2. Ryan Boren
    WordPress Dev
    Posted 1 year ago #

    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.

  3. Steven Stern
    Member
    Posted 1 year ago #

    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 -
  4. Sergey Biryukov
    Trac Moderator
    Posted 1 year ago #

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

  5. Steven Stern
    Member
    Posted 1 year ago #

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

  6. Sergey Biryukov
    Trac Moderator
    Posted 1 year ago #

    It might be in another directory. Generally, when Internal Server Error is issued, a distinct error message can be found in the error logs.

  7. Steven Stern
    Member
    Posted 1 year ago #

    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

  8. I'm running w3tc and 3.4 without that error anywhere.

  9. Steven Stern
    Member
    Posted 1 year ago #

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

  10. Steven Stern
    Member
    Posted 1 year ago #

    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

Topic Closed

This topic has been closed to new replies.

About this Topic