Autocomplete in search does not work
-
Autocomplete does not return anything, spinner runs indefinately.
I use and have the woodmart-child them active.
Is this due to the below error points to woodmart (without “-child” after in path?)
This is from the console in browser:
JQMIGRATE: Migrate is installed, version 3.4.1 jquery-migrate.min.js:2:981
The layout was forced through before the page was fully loaded. If the stylesheets have not been loaded yet, this may cause the content to be displayed without styles for a short moment. scrollBar.min.js:1:66
Uncaught SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data
parse https://www.domain.com/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=3.15.0:1
transformResult https://www.domain.com/wp-content/themes/woodmart/js/libs/autocomplete.min.js?ver=7.3.2:1
currentRequest https://www.domain.com/wp-content/themes/woodmart/js/libs/autocomplete.min.js?ver=7.3.2:1
jQuery 4
c
fireWith
l
o
wp-polyfill.min.js:1:68441
-
This topic was modified 1 year, 9 months ago by
jesper.
Hi jesper,
Thanks for reaching to us.
Please send:
– Temporary wp-admin info (wp-admin URL, username, password) to Private Content area.
I will check this problem for you.
Regards,
Hi jesper,
Thanks for sharing details.
Please disable countries restrictions, I am from Viet Nam.
Regards,
Hi jesper,
Thanks for keep me updated, but it still doesn’t working https://prnt.sc/nAIzULKol1Rn
Regards,
Hi jesper,
It worked, thank you.
I see there is an error related to Ajax search in Console log https://prnt.sc/mnkLTHxwc3Np
I switched to Parent theme and it worked well https://prnt.sc/RPvOlnDqI_i7
So, please remove or comment code lines in Child theme one by one, which helps you find the root cause of problems.
Regards,