Same here with 3.1.1:
Fatal error: Call to undefined function curl_init() in /var/www/vhosts/##mypage.de##/httpdocs/wp/wp-content/plugins/bing-maps-for-wordpress/content.php on line 199
Same here with 3.1.1:
Fatal error: Call to undefined function curl_init() in /var/www/vhosts/##mypage.de##/httpdocs/wp/wp-content/plugins/bing-maps-for-wordpress/content.php on line 199
c6ke There is no cURL script installed on your server.
It's easy to fix using WordPress HTTP API, I just changed few line of code. Here is snippet:
change this
$curl = curl_init($url);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
$contents = curl_exec($curl);
curl_close($curl);
to this
$response = wp_remote_get( $url );
$contents = wp_remote_retrieve_body( $response );
or just comment old code and paste new one.
I hope they will fix this in future release
That works like a charm! Though it's a workaround -> so i'll keep it "not resolved" But still: Great, thanks - that works for me!
This topic has been closed to new replies.