I'm writing a theme and almost every time I reload a page, WordPress is giving the following error

Warning: fopen(http://localhost/wordpress/wp-cron.php?doing_wp_cron=1373799734.2041289806365966796875): failed to open stream: HTTP request failed! in D:\wamp\www\wordpress\wp-includes\class-http.php on line 92

As can be seen I have enabled WP_DEBUG. Here is a screenshot of the warning window (click to zoom):


I'd provide further information but I have to know what exactly as I have no idea where the problem may lie.


This issue has been reported here : trac

Sometimes, HTTP requests fail. In this case, in particular, on localhost. That's part of the reason why we suppress them. I've personally never seen this. I think it's isolated to this server configuration. (Nacin)

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.