Problem

The entity_reference_revisions module expects things like field_storage to be available. However, if the module is installed at the same time as Drupal core than this may not be the case. In some scenarios it can occur that the entity_reference_revisions module is installed before the field module.

Solution

Declare a dependency on drupal:field in the entity_reference_revisions.info.yml file to make sure that the field module is available when entity_reference_revisions is installed.

Comments

Kingdutch created an issue. See original summary.

kingdutch’s picture

Assigned: kingdutch » Unassigned
Status: Active » Needs review
StatusFileSize
new405 bytes
berdir’s picture

Status: Needs review » Needs work

Makes sense but needs a reroll.

neelam_wadhwani’s picture

StatusFileSize
new397 bytes

Kindly review patch.
I have rerolled it.

berdir’s picture

Status: Needs work » Reviewed & tested by the community

berdir’s picture

Status: Reviewed & tested by the community » Fixed

Committed, thanks.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.