Problem/Motivation
The website crashes after upgrading to drupal 9.
Steps to reproduce
upgrade from drupal 8.8 to drupal 9.2.
you should get this error
Error: Call to undefined method Drupal\Core\Entity\ContentEntityType::getLowercaseLabel() in entity_reference_revisions_field_views_data() (line 196 of modules/contrib/entity_reference_revisions/entity_reference_revisions.views.inc).
Proposed resolution
use getSingularLabel instead of getLowercaseLabel
Comments
Comment #2
ahmed-ayman commentedComment #3
ahmed-ayman commentedThis seems to be caused by the patch created here
will close this as duplicate.