Argument 1 passed to EntityViewBuilder must implement interface, null given

In my Drupal project I have this error: Recoverable fatal error: Argument 1 passed to DrupalCoreEntityEntityViewBuilder::view() must implement interface DrupalCoreEntityEntityInterface, null given, called in /Users/team1/workspace/ga_p/modules/field_collection/src/Plugin/Field/FieldFormatter/FieldCollectionItemsFormatter.php on line 33 and defined in DrupalCoreEntityEntityViewBuilder->view() (line 110 of core/lib/Drupal/Core/Entity/EntityViewBuilder.php). I do not know if it’s from having created[…]

"it is not an interface in" error updating drupal (from 8.3.2 to 8.3.4)

Trying to update drupal through drush, I get the following error: phpDocumentorReflectionDocBlockTagsBaseTag cannot implement phpDocumentorReflectionDocBlockTag – it is not an interface in /Users/team1/workspace/XXX/vendor/phpdocumentor/reflection-docblock/src/DocBlock/Tags/BaseTag.php, line 21 How can it be solved? Drupal version:  Drupal 8.x Source: