-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
Description
Symfony version(s) affected
5.4.0-BETA2, 6.0.0-BETA2
Description
Tested beta2 with preloading and got
PHP Fatal error: Uncaught Error: Call to a member function set() on int in var/cache/prod/App_KernelProdContainer.preload.php:13
Stack trace:
#0 config/preload.php(4): require()
#1 {main}
thrown in var/cache/prod/App_KernelProdContainer.preload.php on line 13
It ends up including the main container class file and treating it like it returns an instance of the Container.
How to reproduce
Generate the cache with preloading. The error will be in var/cache/prod/App_KernelProdContainer.preload.php
line 4.
Possible Solution
I would gladly help fix this issue, but I don't feel comfortable messing with the Dependency Injection Container.
Additional Context
No response
Chris53897