Forums › Forums › Search & Filter Pro › Jquery error
- This topic has 9 replies, 3 voices, and was last updated 7 years, 8 months ago by Anonymous.
-
Anonymous(Private) February 22, 2017 at 2:17 pm #91919
Hello there,
I´m using ACF to display a Google Map and the plugin is giving me this error:
jquery-migrate.min.js?ver=1.4.1:2 JQMIGRATE: Migrate is installed, version 1.4.1
search-filter-build.min.js?ver=2.3.0:2 Uncaught TypeError: Cannot read property ‘replace’ of undefined
at Object.processTaxonomy (search-filter-build.min.js?ver=2.3.0:2)
at HTMLLIElement.<anonymous> (search-filter-build.min.js?ver=2.3.0:2)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at Object.buildUrlComponents (search-filter-build.min.js?ver=2.3.0:2)
at Object.getUrlParams (search-filter-build.min.js?ver=2.3.0:2)
at HTMLFormElement.getUrlParams (search-filter-build.min.js?ver=2.3.0:2)
at HTMLFormElement.init (search-filter-build.min.js?ver=2.3.0:2)
at HTMLFormElement.<anonymous> (search-filter-build.min.js?ver=2.3.0:2)
at Function.each (jquery.js?ver=1.12.4:2)Ross Moderator(Private) February 24, 2017 at 1:41 pm #92740Hey Rai
I’m hoping to get on to this later on this afternoon, not sure ofc how long a fix will take but hoping it wouldn’t be too long, possibly over the weekend I could get it sorted, but this is a little speculation at this stage.
Best
Ross Moderator(Private) February 27, 2017 at 4:41 pm #93239Hey Rai
I see the issue. There is a JS error being thrown in S&F because of an issue with one of your fields.
This error prevents further JS being run which prevents google maps from init.
After debugging a little, I can see there is an issue with a particular field.
The search form in the third tab
Profesores
is where there is an error.There is a field that is not able to be displayed called
_sft_particulares
– and this is where the JS error is thrown.If I take a look in wp-admin, I see a taxonomy field for this search form (4th field in the form), but its set to
post_format
.. it looks like the taxonomy was removed, renamed or deleted? So S&F can’t find it and in turn causing this JS error.Does that make sense?
Hope that helps
-
AuthorPosts