Support » Plugin: Bing Maps for WordPress » [Plugin: Bing Maps for WordPress] Also doesn't work with 3.1.1

  • 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

Viewing 2 replies - 1 through 2 (of 2 total)
  • 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!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: Bing Maps for WordPress] Also doesn't work with 3.1.1’ is closed to new replies.