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
Enable OPCache Preloading on SF 4.4 #3852
Comments
Maybe that it needs the same fix as in #3827 ? |
I've also found this problem... Same error. |
nop :/ |
Maybe, this is an issue that can be solved with the tags container.preload and container.no_preload for the affected classes which can define which classes should be preloaded by PHP as stated here https://symfony.com/doc/current/performance.html. Unfortunately, I'm using SF 4.4 and these tags were introduced on SF 5.1 |
Upgraded to SF 5.2 and no error anymore ! |
Hi,
Trying to enable opcache preloading : https://symfony.com/blog/new-in-symfony-4-4-preloading-symfony-applications-in-php-7-4
I have setup the option on my php config but I'm getting the following error :
Argument 1 passed to ApiPlatform\Core\Metadata\Property\Factory\CachedPropertyNameCollectionFactory::create() must be of the type string, null given, called in /app/vendor/api-platform/core/src/Serializer/AbstractItemNormalizer.php on line 330
Code where it's triggered :
Any idea what i'm doing wrong ?
Thanks in advance,
Julien
The text was updated successfully, but these errors were encountered: