- Issue created by @Alezu
Since version 11.2 Drupal EntityBase class has variable $originalEntity defined as ?EntityInterface. We define this variable as not nullable EntityInterface that causes fatal error.
To reproduce the error upgrade the core to version 11.2 - site will lay down in fatal error.
As we can't just remove this variable in favor of parent one to keep back compatibility with previous core versions, we can add nullable type «?EntityInterface» .
None
None
None
None
Active
2.1
Code