Google Maps Cross-Origin Issue?
-
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 : 153108Which 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!
- The topic ‘Google Maps Cross-Origin Issue?’ is closed to new replies.