This error will occur if allow_url_fopen is off on the server, or if Twitter is not responding.
If allow_url_fopen is disabled on your server, modify the plugin to use cURL. If Twitter is down there isn’t much you can do about that.
It would, however, be good to see the plugin output something prettier instead of this error for those times when Twitter doesn’t respond.