algolia / jekyll-algolia

Add fast and relevant search to your Jekyll site
https://community.algolia.com/jekyll-algolia/
MIT License
214 stars 35 forks source link

jekyll 4.0.0 | Error: undefined method `[]' for nil:NilClass #146

Open piyushpaliwal opened 4 years ago

piyushpaliwal commented 4 years ago

I want to report a bug:

Yes

What is the current behavior?

When I do bundle exec jekyll algolia with the API key, it throws an error jekyll 4.0.0 | Error: undefined method[]' for nil:NilClass`

gUakYjwlIf

What is your expected behavior?

The command should execute successfully

Git repository to reproduce the issue:

Here is the codebase, it is still in the works: [https://github.com/piyushpaliwal/ipiyush.git](https://github.com/piyushpaliwal/ipiyush.git) ### Ruby version used:

2.6.3p62

Jekyll version used:

4.0.0.0

masoomulhaqs commented 4 years ago

@jekyll-algolia Any Update on this?