Var-Exporter Deprecated #61170
-
Symfony version(s) affected7.3.0 and 7.3.1 DescriptionI keep waiting to see a new version of the var-exporter, and that project doesn't seem to accept bug reports or new versions. I hope it's okay to put the report here.
How to reproduceThese messages come up persistently in production environment when using Possible SolutionNo response Additional ContextNo response |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 10 replies
-
Well, without a reproducer we can only guess but most of the time you see this message because you did not enable native lazy ghost objects in your Doctrine configuration. |
Beta Was this translation helpful? Give feedback.
-
I double checked the doctrine.yaml config files on my prod and dev servers are synced. Both show The prod server shows those deprecations, the dev server does not. When I edit the |
Beta Was this translation helpful? Give feedback.
-
The related config is Do your environments both run PHP 8.4? |
Beta Was this translation helpful? Give feedback.
-
So this is either not resolved or it came back. I just tried clearing caches again and got another screen full of deprecation messages. Both servers are running PHP 8.4 and Symfony 7.3.1. After updating all recipes and doing a global config search for "enable_native_lazy_objects" there was no result. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Downgrading to php 8.3.21 is the only thing that worked so far. Since the messages don't appear in the dev environment, I only need to downgrade the prod server, and I can continue to use PHP 8.4.7 on the dev server. |
Beta Was this translation helpful? Give feedback.
Downgrading to php 8.3.21 is the only thing that worked so far. Since the messages don't appear in the dev environment, I only need to downgrade the prod server, and I can continue to use PHP 8.4.7 on the dev server.