Support › Forums › White – HTML Template › JS error
- This topic has 3 replies, 2 voices, and was last updated 4 years, 6 months ago by CreaboxThemes.
August 31, 2018 at 4:11 pm #6116Oma CoxParticipant
omacox.com is the site
Safari you get this from the inspector
[Error] Failed to load resource: the server responded with a status of 404 () (main.js, line 0)
[Error] Did not load script at ‘https://maps.gstatic.com/maps-api-v3/api/js/20/8/intl/es_ALL/main.js’ because non script MIME types are not allowed when ‘X-Content-Type: nosniff’ is given.
[Error] TypeError: undefined is not a constructor (evaluating ‘new google.maps.LatLng(latitude, longitude)’)
(anonymous function) (map.js:193)
You get this under chrome
map_script.js:8 A parser-blocking, cross site (i.e. different eTLD+1) script, https://maps.gstatic.com/maps-api-v3/api/js/20/8/intl/es_ALL/main.js, is invoked via document.write. The network request for this script MAY be blocked by the browser in this or a future page load due to poor network connectivity. If blocked in this page load, it will be confirmed in a subsequent console message. See https://www.chromestatus.com/feature/5718547946799104 for more details.
getScript @ map_script.js:8
main.js:1 Failed to load resource: the server responded with a status of 404 ()
map.js:193 Uncaught TypeError: google.maps.LatLng is not a constructor
at HTMLDocument.<anonymous> (map.js:193)
at j (jquery-1.11.2.min.js:2)
at Object.fireWith [as resolveWith] (jquery-1.11.2.min.js:2)
at Function.ready (jquery-1.11.2.min.js:2)
at HTMLDocument.J (jquery-1.11.2.min.js:2)
Windows 10 Edge
HTML1300: Navigation occurred.
CSS3121: The media query -ms-viewport has been deprecated.
SEC7112: Script from https://maps.gstatic.com/maps-api-v3/api/js/20/8/intl/es_ALL/main.js was blocked due to mime type mismatch
HTTP404: NOT FOUND – The server has not found anything matching the requested URI (Uniform Resource Identifier).
GET – https://maps.gstatic.com/maps-api-v3/api/js/20/8/intl/es_ALL/main.js
SCRIPT445: SCRIPT445: Object doesn’t support this action
IF you check it mobile it works but desktop it can resolve the js reference.
Thank youSeptember 2, 2018 at 9:42 pm #6118CreaboxThemesKeymaster
sorry for the inconveniences.
Do you want to use the google map section?
RegardsSeptember 2, 2018 at 11:28 pm #6119Oma CoxParticipant
I do not use the map on the site and don’t need it.
Provide a email and I’ll send you the index.html
Thank youSeptember 3, 2018 at 7:31 am #6125CreaboxThemesKeymaster
I’m going to resolve the problem asap. You will receive and email when the theme will be update and ready.
- You must be logged in to reply to this topic.