• HellO!
    Thanx for plugin.
    Would you please help with a question:

    on step – getting API key i see https://code.google.com/apis/maps/signup.html
    there are few blocks: JavaScript Maps API Example, Maps API for Flash Example, HTTP Service Example

    I guess for my blog (ka81.com) I need HTTP Service Example.
    I still can’t understand what is it Sensor Parameter so I assigned false.
    so the code is

    AAAAAAAAAqoPJAAAAx5HvDXAzy9RSReuESlKsz59Q56MDh7-avzIn4bhRApAAAAAAAnexnpywRhnpRdxg

    I inserted through wp-admin/post.php?action=edit&post=1 a map with the code

    <!--gmap %7B%22width%22%3A400%2C%22height%22%3A300%2C%22longitude%22%3A30.468462109565735%2C%22latitude%22%3A50.46528333982704%2C%22zoom%22%3A18%2C%22hud%22%3A%222%22%2C%22mapstyle%22%3A%221%22%2C%22separators%22%3A%7B%7D%7D-->

    and when we get to LINK we see the error

    Fatal error: Call to undefined function json_decode() in /www/apache/ka81/wp-content/plugins/wp-gmaps2/wp_gmaps2.php on line 49

    Could you please help to deal with it…

    https://www.ads-software.com/extend/plugins/wp-gmaps2/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello.

    You are getting that error because you probably don’t have a PHP version above or equal to 5.2 on the server where you are running the plugin (see https://pt.php.net/manual/en/function.json-decode.php for reference). If you’re familiar with PHP you can add substitute function to the “wp_gmaps2.php” file. However I will try to update the source in a few days to resolve this problem on the previous versions of PHP.

    Thanks for reporting this. Stay tune for updates.

    The plugin has been updated. It should resolve your problem.

    Thanks for your report.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: WP_GMaps2] Fatal error: Call to undefined function json_decode()’ is closed to new replies.