Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TypeError: Cannot read properties of undefined (reading 'facetFilters') #2094

Closed
gitFoxCode opened this issue Jun 5, 2023 · 2 comments
Closed

Comments

@gitFoxCode
Copy link

Environment

Similar to https://content.nuxtjs.org/

Reproduction

https://content.nuxtjs.org/

Describe the bug

Even at https://content.nuxtjs.org/
In console: Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'facetFilters')

This error breaks the entire search engine:
entry.9c90eddd.js:1 TypeError: Cannot read properties of null (reading 'click')

Additional context

No response

Logs

No response

@Baroshem
Copy link

Baroshem commented Jun 5, 2023

I think there is a bug in the implementation of the DocSearch as it requires indexName and facetFilters variables to be set:

nuxt-modules/algolia#152 (comment)

@gitFoxCode
Copy link
Author

solved in nuxt-modules/algolia#152 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants