Uncaught TypeError: Cannot read property ‘content’ of undefined
-
Hello Algolia,
Thank you for a great plugin and service!
I am getting the following error in console on my search results page and I cannot figure out why.
Uncaught TypeError: Cannot read property 'content' of undefined at eval (eval at m.template (underscore.min.js:5), <anonymous>:42:45) at c (underscore.min.js:5) at wp-util.min.js:1 at u (instantsearch-preact.min.js:7) at t.value (instantsearch-preact.min.js:7) at O (instantsearch-preact.min.js:6) at t.render (instantsearch-preact.min.js:6) at T (instantsearch-preact.min.js:7) at T (instantsearch-preact.min.js:7) at N (instantsearch-preact.min.js:7)
Autocomplete is working great and I have made sure to check “Searchable posts [searchable_posts]” under “Indexing”.
This is how my config looks likeUnder “Search Page” I have “Use Algolia with Instantsearch.js” checked.
I have tried:
1) Disabling all plugins except Algolia Search
2) Switching to default themeNone of those seemed to solve the problem.
The error results in my search results page showing no results although the text below the search field indicates that results were found.
Thanks in advance for any help.
CB
- The topic ‘Uncaught TypeError: Cannot read property ‘content’ of undefined’ is closed to new replies.