• Resolved cruiseback

    (@cruiseback)


    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 like

    Under “Search Page” I have “Use Algolia with Instantsearch.js” checked.

    I have tried:
    1) Disabling all plugins except Algolia Search
    2) Switching to default theme

    None 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

Viewing 1 replies (of 1 total)
  • Plugin Contributor rayrutjes

    (@rayrutjes)

    Hi there,

    We just released a new version of our plugin that should solve that kind of issue.

    Please give it a try and re-open an issue if you still have a problem.

    Cheers.

Viewing 1 replies (of 1 total)
  • The topic ‘Uncaught TypeError: Cannot read property ‘content’ of undefined’ is closed to new replies.