-
AuthorPosts
-
August 25, 2016 at 4:04 pm #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
August 26, 2016 at 8:35 am #678005Hi 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,
RikardAugust 26, 2016 at 3:22 pm #678169Hi,
ok :)Thank you!
August 30, 2016 at 5:25 pm #679591Hello!
Any luck ? :)
August 31, 2016 at 7:14 am #679834Hi,
We’ve notified Kriesi about this issue.
Best regards,
JosueSeptember 20, 2016 at 9:34 pm #689551has this been fixed?
September 20, 2016 at 9:36 pm #689553Nop.
I tried again yesterday with Enfold + ACF up to date and same issue.October 3, 2016 at 8:35 pm #694761Here is the solution do deactivate one of the 2 GMap API loaded :
add_filter( ‘avf_load_google_map_api’, ‘__return_false’ );
in your function.phpOctober 6, 2016 at 8:37 am #695908Hey!
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 -
AuthorPosts
- You must be logged in to reply to this topic.
