You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When login in my website , it produces this exception
Error:
Typed property Proxies\__CG__\App\Entity\Website::$ must not be accessed before initialization (in __sleep)
at vendor/symfony/security-http/Firewall/ContextListener.php:178
at serialize()
(vendor/symfony/security-http/Firewall/ContextListener.php:178)
at Symfony\Component\Security\Http\Firewall\ContextListener->onKernelResponse()
(vendor/symfony/event-dispatcher/EventDispatcher.php:230)
at Symfony\Component\EventDispatcher\EventDispatcher->callListeners()
(vendor/symfony/event-dispatcher/EventDispatcher.php:59)
at Symfony\Component\EventDispatcher\EventDispatcher->dispatch()
(vendor/symfony/http-kernel/HttpKernel.php:190)
at Symfony\Component\HttpKernel\HttpKernel->filterResponse()
(vendor/symfony/http-kernel/HttpKernel.php:136)
at Symfony\Component\HttpKernel\HttpKernel->handleRaw()
(vendor/symfony/http-kernel/HttpKernel.php:79)
at Symfony\Component\HttpKernel\HttpKernel->handle()
(vendor/symfony/http-kernel/Kernel.php:196)
at Symfony\Component\HttpKernel\Kernel->handle()
(public/index.php:28)
How to reproduce
no real idea
Possible Solution
no idea too :(
Additional context
it seems related to this PR #36332 , but unfortunately I still have this problem
The text was updated successfully, but these errors were encountered:
Is this entities somehow related to user (UserInterface)?
allan-simon
changed the title
[Serializer] Typed property Proxies\__CG__\App\Entity\File::$ must not be accessed before initialization (in __sleep)
[Serializer] Typed property Proxies\__CG__\App\Entity\Website::$ must not be accessed before initialization (in __sleep)
Sep 23, 2020
Symfony version(s) affected: 5.1.5
php version 7.4.3
Description
When login in my website , it produces this exception
How to reproduce
no real idea
Possible Solution
no idea too :(
Additional context
it seems related to this PR #36332 , but unfortunately I still have this problem
The text was updated successfully, but these errors were encountered: