• The Contextual Map widget stopped working on my website. The editing pages still have the fields and show the map of the location for this post, and my API code is working if I substitute another map plugin, so I don’t think it is my API code. In investigating, this plugin was creating some PHP errors (translation coming too early, optional parameter not optional) but I fixed those and it still did not fix the problem.

    In the main file I added a hook to load translations at the corect time:

    // Language
    add_action(‘init’, function()
    {
    load_plugin_textdomain( ‘wp-geo’, false, dirname( plugin_basename( FILE ) ) . ‘/languages’ );
    });

    In the wpgeo-widget.php file I changed line 12 to add a default name of ”:

    function __construct( $id_base = false, $name = '', $widget_options = array(), $control_options = array() ) {

    So I don’t get any errors, but I still don’t get a map. I LOVE this plugin and would be happy to donate if you can fix it.

    The page I need help with: [log in to see the link]

  • You must be logged in to reply to this topic.