• Resolved JP3

    (@jp3)


    These are showing up in my devtools console:
    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).

    It indicates that to offender is:
    https://site.name/wp-content/plugins/simply-gallery-block/blocks/skins/pgc_sgb_slider.js?ver=3.0.0 : 1 : 153108

    Which shows this section of code:
    getElementsByClassName("sgb-preloader")[0];h.removeChild(c)}this.createGalleryByVp(h)}}console.log("%c SGB ".concat(s.toUpperCase()," v.3.0.0"),"background: #222; color: #eaabff")}else a.a.trace("Plugin scripts are not ready")}

    It appears to be working perfectly, but I’m confused about the google maps error related to this plugin. Hopefully you can shed some light in this and/or offer a solution. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author GalleryCreator

    (@gallerycreator)

    Hello,
    first, I need a link to your real site with this message.
    And I’m sure that my plugin does not access google map in any way.
    The reference installation on my demo site does not have these messages –
    https://simplygallery.co/simply-slider-carousel-for-wordpress-site/

    And here is a site from a neighboring branch on this forum with my plugin, but it does not have any messages about maps – https://forestpathology.org/root-diseases/annosus/

    Thread Starter JP3

    (@jp3)

    I didn’t understand the google maps connection myself, which is why I posted.

    I was going to send you a link, but I recently migrated servers, and on the new server the error still exists, but doesn’t indicate your plugin like it did before.

    New server, same “cross-origin” error with google maps, but now it doesn’t specify any file/source as the culprit.

    Probably a conflicting plugin, except I don’t have any that interact with google maps in any way (that I’m aware of). I’ve got something funky going on, but it doesn’t seem to be your plugin like previously indicated.

    Marked as Solved. This isn’t your problem.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Google Maps Cross-Origin Issue?’ is closed to new replies.