Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #677603

    Hi !
    I use Enfold and Advanced Custom Field.
    Since (i think) the Enfold update regarding the google map API key, acf’s google map field in back-office froze after 2-3 second.
    I tried :
    – switch to Twenty Sixteen : it works.
    – switch back to Enfold : it freeze. And the console fill itself with a lot of errors :

    js?v=3&libraries=places&callback=google.loader.callbacks.maps:78 Uncaught TypeError: Cannot read property '2' of undefined
    util.js:210 Uncaught TypeError: _.m is not a function
    common.js:211 Uncaught TypeError: _.m is not a function
    2common.js:11 Uncaught TypeError: _.L is not a constructor
    common.js:39 Uncaught TypeError: Failed to execute 'getComputedStyle' on 'Window': parameter 1 is not of type 'Element'.
    js?v=3&libraries=places&callback=google.loader.callbacks.maps:108 Uncaught TypeError: _.H is not a constructor
    common.js:5 Uncaught TypeError: Cannot read property '27' of undefined
    
    [...]

    I tried with or without the API key.
    I contacted ACF support too.

    Any idea ?

    Thanks

    #678005

    Hi szed,

    Please send us a temporary admin login so that we can have a closer look. You can post the details in the Private Content section of your reply.

    Regards,
    Rikard

    #678169

    Hi,
    ok :)

    Thank you!

    #679591

    Hello!

    Any luck ? :)

    #679834

    Hi,

    We’ve notified Kriesi about this issue.

    Best regards,
    Josue

    #689551

    has this been fixed?

    #689553

    Nop.
    I tried again yesterday with Enfold + ACF up to date and same issue.

    #694761

    Here is the solution do deactivate one of the 2 GMap API loaded :

    add_filter( ‘avf_load_google_map_api’, ‘__return_false’ );
    in your function.php

    #695908

    Hey!

    Did the filter work? What if you have a map widget in the page?

    Related thread: https://kriesi.at/support/topic/third-party-google-map-plugin/#post-681515

    The filter is basically the same with yours but it will also disable the map widget api.

    Regards,
    Ismael

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