• Resolved uekcu3

    (@uekcu3)


    Hi Kaisar,

    With the latest update I am getting this error in the console and the form no longer loads on the page:

    Uncaught TypeError: Cannot read properties of undefined (reading 'Autocomplete')
    at String.<anonymous> (map_data.js?ver=1.3.1:54:51)
    at Function.each (jquery.js:3:5257)
    at HTMLDocument.<anonymous> (map_data.js?ver=1.3.1:14:8)
    at HTMLDocument.dispatch (jquery.js:3:28337)
    at v.handle (jquery.js:3:25042)
    at Object.trigger (jquery.js:3:27423)
    at HTMLDocument.<anonymous> (jquery.js:4:3107)
    at Function.each (jquery.js:3:5257)
    at init.each (jquery.js:3:2013)
    at init.trigger (jquery.js:4:3083)

    The call throwing this error is in map_data.js line 54

    var autocomplete = new google.maps.places.Autocomplete(
    document.getElementById(inputFull),
    {
    options,
    }
    );

    I’ve found if I revert the &loading=async addition on line 31 in class-frontend.php then the forms work again including address autofill.

    Any thoughts on why this might be? Or anyone else having issues?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Yep, same issue here.

    But it’s intermittent. If I refresh the form, 9 times out of 10 it fails but will occasionally load without the error.

    This has just started happening for us today, but the plugin was last updated 2 months ago? Maybe the issue is with the Google Maps API or something?

    Plugin Author Kaisar Ahmmed

    (@kaisarahmmed)

    Hi, @uekcu3

    I am reviewing all of your issues. I will work on resolving and release an updated version as soon as possible.

    Thank you.

    Same problem here. We are waiting for a solution. I have a system that requires filling out forms all over Spain every hour and it is important to have a solution to the problem.

    Great plugin and working well so far.

    Thanks.

    Plugin Author Kaisar Ahmmed

    (@kaisarahmmed)

    Hi @uekcu3

    I’ve fixed that issue in the new release. Please check and let me know.

    Thanks

    Thread Starter uekcu3

    (@uekcu3)

    Hi @kaisarahmmed

    Thank you, I’ve re-enabled autofill now with async switched off and the issues are resolved.

    Cheers,

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