I'm using Elastica search engine for my Symfony project.
Now, I'm getting the below error :
The autoloader expected class "Elastica_Query_Bool" to be defined in file "/blablabla/vendor/ruflin/elastica/lib/Elastica/Query/Bool.php". The file was found but the class was not in it, the class name or namespace probably has a typo.
If I change new \Elastica_Query_Bool()
for new \Elastica\Query\Bool()
in my php file, it works fine.
But I can't understand why I'm getting an error now. Any idea ?