-
-
Notifications
You must be signed in to change notification settings - Fork 96
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
PHP warning caused by duplicate property definition #140
Comments
+1 |
Update to latest release and let know |
It is now:
Both InputWidget and FileInput use TranslationTrait. Looks like PHP doesn't like this duplication. I removed the |
Fixed |
The row with use TranslationTrait is still in the repositorty? |
Not sure what you are checking. Latest release for you to update to is v1.0.7 and you can cross check the latest updated code for FileInput. |
The line still exists in v1.0.7 |
Hello there!
The latest version of yii2-krajee-base breaks the file input widget under PHP 5.6.
Steps to reproduce the issue
Expected behavior and actual behavior
Following the steps above, this warning is thrown:
This is not the case using at least PHP 7.0, or even disabling strict warnings, but there can be (and there are, in fact) hosts where we cannot turn off the warnings even if we want to, so it would still be great to fix this.
Environment
Libraries
It seems to me that this needs to be fixed in this extension, and not in yii2-krajee-base, I hope I am correct in opening the issue here.
The text was updated successfully, but these errors were encountered: