Search&Autocorrect error- 'get' of null

I have been trying to use the plugin search& autocorrect for my project. It throws me a particular error at random instances and I have not been able to detect the pattern. Has anyone faced similar problem before?
Is there any fix?

Did you see this post? It might be a similar issue: