Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm writing a theme and almost everytime 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: http://oi44.tinypic.com/2qnrrd5.jpg

I'd provide further information but I have to know what exactly as I have no idea where the problem may lay :\

share|improve this question
add comment

1 Answer

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
1  
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
add comment

Your Answer

 
discard

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.