• Resolved lynxlynxlynx

    (@lynxlynxlynx)


    Hey, great plugin, we’ve been using it for years. Today I was doing maintenance and updated the plugin from a pretty old version (4.0.1). I had to re-add the API key, but other than that things seemed normal.

    However the maps don’t display. I’ve now reverted the update, so it’s not visible live any more, but the js console only had two errors. The CORS one looks harmless and works when visited manually, but could be the core issue, since then the main plugin callback is busted:

    Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at https://maps.googleapis.com/maps/api/mapsjs/gen_204?csp_test=true. (Reason: CORS request did not succeed). Status code: (null).

    Uncaught (in promise) InvalidValueError: wpgmpInitMap is not a function
    Cj https://maps.google.com/maps/api/js?key=lalala&callback=wpgmpInitMap&libraries=geometry,places,drawing&language=en&ver=5.7.9:605
    /.../

    This is from firefox, also tried in opera. Any tips on how to resolve this?

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Ashok Singh

    (@flippercode0505)

    Hello,

    Thank you for contacting us for support.

    Please update the WP Maps Pro plugin to version 5.7.9 Gold.
    It’s possible that this issue might be due to a conflict with another plugin.
    To help identify the problem, could you deactivate the other plugins one by one and check if the map loads without any errors?

    Best Regards

    • This reply was modified 3 months, 3 weeks ago by Ashok Singh.
    Thread Starter lynxlynxlynx

    (@lynxlynxlynx)

    The CORS error is also on the working site (old version), so apparently nothing new.

    The problem was with Autooptimize’s js file aggregation. I guess some of this plugin’s files would need to be added to the exclude list.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.