WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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.

share|improve this question
up vote 1 down vote accepted

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)

share|improve this answer
Thanks for the directions! I solved it by uncommenting php_curl.dll in php.ini following the instructions in this post: stackoverflow.com/questions/3486592/wamp-curl-installation – Ziik Jul 14 '13 at 13:57

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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