-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[2.x] array_key_exists() is deprecated on objects in PHP 7.4 #3151
Comments
It has been fixed for both. Do you have any issue in 2.x? |
Yes, I'm getting deprecation warning on latest PHP 7.4 beta and Twig 2.11.3:
I believe it is coming from here and here Well, it was fixed actually, but not released, so in v2.11.3 it is still there. |
There is no new 2.x release since then 03dbdb9 |
So, it will be part of the next release. |
We're eagerly waiting for the next Twig 2.x release. It's the only remaining incompatibility for our test suite to pass on PHP 7.4 in API Platform. 😆 |
Here too! |
This is already fixed, please upgrade. |
sorry and thank you very much! |
tengo este problema, me podrian ayudar. En desuso: array_key_exists (): el uso de array_key_exists () en objetos está en desuso. Use isset () o property_exists () en su lugar en C: \ xampp \ xamppp \ htdocs \ miotratienda \ src \ Adapter \ EntityMapper.php en la línea 90 este es el codigo de la linea 90. if (array_key_exists($key, $entity)) { |
The core is already using 2.14, but the clientHelper and common are not. Important because we got this deprecation 1663 times on each page: Deprecated: array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead More info: twigphp/Twig#3151
Seems like it has been fixed for 1.x, but not for 2.x
The text was updated successfully, but these errors were encountered: