[wp-hackers] WP Cron Bug

Marko Novaković atisha34 at gmail.com
Wed May 4 14:57:18 UTC 2011


I have installed the lastest WP 3.1.2 on my computer,
Ubuntu 11.04, php and mysql the newest versions,
and sometimes give the following exception:

Warning: fopen(http://localhost/wordpress-test/wp-cron.php?doing_wp_cron):
failed to open stream: HTTP request failed! in
/var/www/wordpress-test/wp-includes/class-http.php on line 1063 Call Stack:
0.0120 951248 1. {main}() /var/www/wordpress-test/wp-admin/plugins.php:0
0.0131 1080696 2. require_once('/var/www/wordpress-test/wp-admin/admin.php')
/var/www/wordpress-test/wp-admin/plugins.php:10 0.0134 1101992 3.
require_once('/var/www/wordpress-test/wp-load.php')
/var/www/wordpress-test/wp-admin/admin.php:30 0.0137 1127560 4.
require_once('/var/www/wordpress-test/wp-config.php')
/var/www/wordpress-test/wp-load.php:30 0.0146 1262592 5.
require_once('/var/www/wordpress-test/wp-settings.php')
/var/www/wordpress-test/wp-config.php:90 0.1501 28287976 6. do_action()
/var/www/wordpress-test/wp-settings.php:212 0.1501 28290288 7.
call_user_func_array() /var/www/wordpress-test/wp-includes/plugin.php:395
0.1501 28290344 8. wp_cron()
/var/www/wordpress-test/wp-includes/plugin.php:0 0.1503 28303688 9.
spawn_cron() /var/www/wordpress-test/wp-includes/cron.php:276 0.1516
28149840 10. wp_remote_post()
/var/www/wordpress-test/wp-includes/cron.php:246 0.1518 28153496 11.
WP_Http->post() /var/www/wordpress-test/wp-includes/http.php:92 0.1518
28154904 12. WP_Http->request()
/var/www/wordpress-test/wp-includes/class-http.php:344 0.1523 28166344 13.
WP_Http_Streams->request()
/var/www/wordpress-test/wp-includes/class-http.php:318 0.1524 28180056 14.
fopen() /var/www/wordpress-test/wp-includes/class-http.php:1063

Have it applied on the trac yet?


More information about the wp-hackers mailing list