WordPress error "file_get_contents: unable to request the remote URL"
I’m getting the error “
file_get_contents: unable to request the remote URL” with a opt-in plugin. I tested it on my shared server and there were no issues. No such luck on my droplet.
I spent a few days searching forums. I’ve enabled the following lines in my php.ini.
allow_url_fopen = On allow_url_inclure = On
I created a test file to make sure it work the allow_ worked.
What else can be the issue? I contacted the plugin developer and they passed it off saying to contact the host. Nice paid support, eh?
Any help would be greatly appreciated.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×