Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
My search form "Where are you" does not work I have this error:
TypeError: marker is null
" Drupal.GSL.Panel.prototype.searchChanged
Drupal.GSL.Panel/<
_.z.trigger
Drupal.GSL.Panel.prototype.initAutocomplete_/<
_.z.trigger
Ab
Ab
_.k.set
_.uc/<
_.k.$m
_.z.trigger
sb/<
_.z.trigger
G6
_.k.Fi
rb/<
"
Can you tell me how to solve this?
Comments
Comment #2
A.Conseils CreditAttribution: A.Conseils commentedComment #3
rodrigoeg CreditAttribution: rodrigoeg at CI&T commentedHi A.Conseils,
Was this same bug hapenning before and after applying the patch in #2473595: "Where are you?" location doesn't do anything...?
I am wasking because the variable name "marker" was changed to "searchMarker" in that patch, and your error is still showing the variable name "marker".
Could you please check if the patch was applied without errors or maybe there are some cache related issue (browser cache, Drupal cache, etc.)? If you already have your site in an environment with public access, I can take a quick look if you send me a message with the link in Facebook or other communication method.
Comment #4
A.Conseils CreditAttribution: A.Conseils commentedThank you for your reply ! :-)
I have the code as the patch you told me and I erased the caches.
Now I have another error message that appears this is this one:
The use of "getPreventDefault ()" is deprecated. Use "defaultPrevented" instead.
js_QFpbhQ1fA17LoqP63nHgaPP_VRuK_RchVNcD6LWRYVI.js:2:40351
My website is here : http://leschatounets.fr/?q=store
Comment #5
rodrigoeg CreditAttribution: rodrigoeg at CI&T commentedHi @A.Conseils,
It seems this warning is not being caused by this module or Google locator libraries. Maybe this is caused by other module of a custom javascript you may have.
Also, this is not an error and your website should work fine even with this warning (although I would recommend fixing it if you plan to have this website live for a long time).
Comment #6
rodrigoeg CreditAttribution: rodrigoeg at CI&T commentedHi, A.Conseils,
Please let me know you were still facing issues with the module.
I noticed your site is not using Google store locator anymore :(