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

midobel created an issue. See original summary.

ahmed-ayman’s picture

ahmed-ayman’s picture

Status: Active » Closed (duplicate)

This seems to be caused by the patch created here

will close this as duplicate.