وردپرس
Latest update makes forms to fail to load
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. (map_data.js?ver=1.3.1:54:51)
at Function.each (jquery.js:3:5257)
at HTMLDocument. (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. (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?
مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد
منبع: انجمن وردپرس