JS error

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • #6116
    Oma Cox

    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)
    j (jquery-1.11.2.min.js:2:27301)
    fireWith (jquery-1.11.2.min.js:2:28110)
    ready (jquery-1.11.2.min.js:2:29954)
    J (jquery-1.11.2.min.js:2:30314)

    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.
    omacox.com (1,1)

    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
    omacox.com (1,1)

    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
    map.js (192,3)

    IF you check it mobile it works but desktop it can resolve the js reference.

    Thank you



    sorry for the inconveniences.

    Do you want to use the google map section?


    Oma Cox

    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 you



    I’m going to resolve the problem asap. You will receive and email when the theme will be update and ready.


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