-
Notifications
You must be signed in to change notification settings - Fork 80
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
Elasticsearch ^6.0 compatibility #304
Comments
What's the current status? I'm a little confused because according to this comment the issue got resolved in ElasticsearchBundle 5.2.0 but despite having installed version 5.2.4 and SuluArticleBundle 1.0.1, I'm still seeing weird autoloading errors. |
@mareksuscak this issue is only resolved partly - the bundle is now ready for 7.2 but not ES 6.0 |
Which version is ready for PHP 7.2 though? The latest one (i.e. 1.0.1)? Or the development version that's not been released yet? 1.0.1 didn't work w/ PHP 7.2 and Elasticsearch server 5.x. |
all versions ^1.0 should be ready for php 7.2 and ES ^5.0 - what is you exact problem? do you have any error message? |
There was a problem w/ the autoloader. Specifically, it was looking for |
@mareksuscak I think you need to use the new annotation |
We don't use that annotation in our own code. Just tried it again w/ the same result. However, upon manually removing the contents of the cache folder, it started working. I'm pretty sure I ran Anyway, it now works. |
@mareksuscak when working with sulu you should keep in mind there are 2 Kernels (Admin and Website) which has there own caches to clear them use: bin/adminconsole cache:clear
bin/websiteconsole cache:clear
# make also sure you provide the correct environment to each ocmmand using e.g.: --env prod or the evil way: rm -rf var/cache/* |
I don't think that's evil at all, I always do it the |
@alexander-schranz I am aware of that. That's the thing. I always clear both. And it should not even be necessary in |
@mareksuscak there are only a few things which don't need cache clear on dev but there are also many things e.g. routes and compilerpass values which need also a clear cache on dev. |
Cannot use 'Object' as class name as it is reserved |
which version of the
|
i am using php 7.2 with yii 2.0.14 and i am working on ubantu 20.04 version |
ES 6 support was some time ago merged. ES 7 support is coming soon. See #433 |
Actual Behavior
ongr-io/ElasticsearchBundle
does not support PHPand elasticsearch^7.2
(ongr-io/ElasticsearchBundle#832)^6.0
(ongr-io/ElasticsearchBundle#828)Expected Behavior
This should be supported.
Possible Solutions
The text was updated successfully, but these errors were encountered: