Cannot read properties of undefined ( reading: 'title') in Vitepress
DominusKelvin opened this issue · comments
Describe the bug
When I use the Orama plugin for Vitepress on Sailscasts Docs I get an error on the console that Cannot read properties of undefined ( reading: 'title')
To Reproduce
- Initialize the Orama plugin for Vitepress.
- Make a search
Expected behavior
I expected for Orama to not error out for pages that don't have title
Environment Info
Node: v21.7.1
@orama/plugin-vitepress: 2.0.16
Affected areas
Search
Additional context
Hey!
Sorry about that, I just made a PR that will fix this error and it will be available in the next version
Thanks @SaraVieira and FYI, I think the problem still persist as I still receive the error even after upgrading to 2.0.18
There hasn't been a new one after my PR, let me ask today for a new release