• Resolved allan1978

    (@allan1978)


    After updating the free plugin from 7.10.00 to 7.10.03 the OpenLayer map no longer works. This is not a plugin conflict.

    The shortcode doesn’t display the map on the front end and a javascript error is displayed on the map admin where the map would normally appear:
    “The map could not load.
    This is normally caused by a conflict with another plugin or a JavaScript error that is preventing our plugin’s JavaScript from executing. Please try disable all plugins one by one and see if this problem persists.”

    The console gives the following errors:
    Uncaught ReferenceError: google is not defined
    at wp-google-maps.min.js?ver=4.9.6:1
    wp-google-maps.min.js?ver=4.9.6:1 Uncaught ReferenceError: wpgmza_api_not_enqueued_reason is not defined
    at new WPGMZA.GoogleMap (wp-google-maps.min.js?ver=4.9.6:1)
    at Function.WPGMZA.Map.createInstance (wp-google-maps.min.js?ver=4.9.6:1)
    at Object.MYMAP.init (wpgmaps.js?ver=7.10.03b:261)
    at InitMap (wpgmaps.js?ver=7.10.03b:80)
    at HTMLDocument.<anonymous> (wpgmaps.js?ver=7.10.03b:124)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)

    Switching from OpenLayer to the Google Maps engine fixes this.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter allan1978

    (@allan1978)

    Updating to version 7.10.05 fixes this issue.

    Thanks

    perryrylance

    (@perryrylance)

    Hi Allan

    My apologies that we didn’t respond to this in a timely fashion, we’ve been extremely busy following these recent changes.

    I’m glad to hear the update solved this for you.

    Is there anything else we can help you with?

    Kind regards
    – Perry

    Thread Starter allan1978

    (@allan1978)

    No worries Perry.

    You were fast to make the fix so it’s all good.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘JavaScript error after updating to 7.10.03 using OpenLayers’ is closed to new replies.