Cannot read properties of undefined (reading ‘allLocations’)
-
When I run an ajax query that goes over my pagination limit and I hit “next” I get the following javascript error:
Uncaught TypeError: Cannot read properties of undefined (reading 'allLocations') at s.paginate (simple-locator.min.js:1:10150) at HTMLButtonElement. (simple-locator.min.js:1:4999) at HTMLDocument.dispatch (jquery.min.js?ver=3.6.1:2:43064) at y.handle (jquery.min.js?ver=3.6.1:2:41048)
My shortcode is setup as follows:
/** * Simple Locator Search Form */ $shortcode = '[wp_simple_locator distances="25,50,100,200" buttontext="Search" addresslabel="Zip Code or City" mapcontrols="show" mapcontrolsposition="RIGHT_BOTTOM" mapcontainer="#map-container" resultscontainer="#results-container" taxonomies="club-or-match" ajax="true" ]'; echo do_shortcode($shortcode);
Has anyone seen this error before? It blocks me from going to the next page and is a show stopper for me. Thanks.
The page I need help with: [log in to see the link]
- The topic ‘Cannot read properties of undefined (reading ‘allLocations’)’ is closed to new replies.