Downgrade to PHP 8.1 and the errors dissapear
drupal entity → created an issue.
drupal entity → created an issue.
drupal entity → created an issue.
It also happens with paragraphs. Same solution applied on DynamicEntityReferenceItem.php. Patch attached.
Issue is very similar, I guess to generate a new Issue is not needed.
Drupal Entity → created an issue.
Module updated with patch.
Drupal Entity → created an issue.
Drupal Entity → created an issue.
Drupal Entity → created an issue.
Drupal Entity → created an issue.
Drupal Entity → created an issue.