Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

wp_remote_get Response could not be parsed

$
0
0

Replies: 0

I’m trying to troubleshoot a problem someone is having with my plugin.

I’m using wp_remote_get to basically interact with a remote server. It all works fine from my own WP install and even works on installs on 2 different laptops.

The error being reported is

“Response could not be parsed”

which digging into the WordPress code seems to suggest that the headers are missing.

The odd thing is that the wp_remote_get call is to this url:

https://canalplan.org.uk/cgi-bin/api.cgi?mode=version

And that server actually sees a call from the user’s wordpress install to the url – but its dying at the other end.

Is there any way of getting any better diagnostic information from the wp_remote_get error response?


Viewing all articles
Browse latest Browse all 59525

Trending Articles