Problem when using Symfony 4.4.x and Doctrine 2.7.x: Cannot bind closure to scope of internal class ReflectionProperty
Author: k00niCreated Jan 21, 2020Updated Jan 21, 2020
When i want to clone a Doctrine entity (containing sub entities), i get the error:
Cannot bind closure to scope of internal class ReflectionProperty
I am not sure, which is the source of the error. Can you tell me, if there are any restrictions, which might cause this error? Any known incompatibilities with Symfony (its container builder) and/or Doctrine? General compatibility seems to be, based on #39 .
Reference to my comment on a (similar?) case in the Symfony issue tracker: https://github.com/symfony/symfony/issues/24178#issuecomment-576686360
Source: myclabs/DeepCopy