stewartlever
Member
Posted 3 months ago #
Hi,
Just got this issue this morning. Clearing the cache reproduces the issue.
Warning: file_get_contents() [function.file-get-contents]: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /XXX/XXX/public_html/site/wp-content/plugins/facebook-fan-box-cache/facebook-fan-box-cache.php on line 330
Warning: file_get_contents(http://profile.ak.fbcdn.net/hprofile-ak-snc7/373087_206415666070142_1612616243_q.jpg) [function.file-get-contents]: failed to open stream: php_network_getaddresses: getaddrinfo failed: No address associated with hostname in /XXX/XXX/public_html/site/wp-content/plugins/facebook-fan-box-cache/facebook-fan-box-cache.php on line 330
http://wordpress.org/extend/plugins/facebook-fan-box-cache/
Donald Gilbert
Member
Plugin Author
Posted 3 months ago #
Which version of the plugin are you using?
The reason you get the issue each time the cache is cleared is that file_get_contents is only called when generating the local cached version, so you would only see it when a new cache is being generated.
stewartlever
Member
Posted 3 months ago #
version 2.5
Ok so this won't be an issue each time the cache cycles ie every hour ?
Donald Gilbert
Member
Plugin Author
Posted 3 months ago #
It's not a major issue. What I can't figure out is why it is erroring. The file it's trying to load does exist, it's just the getaddrinfo function is failing, so it doesn't know where to route the remote request. It may be an issue with your hosting environment.
I'll look into possible solutions when I get a chance.