At the beginning of May 2020 the latest ERL version alpha6 was released: https://www.drupal.org/project/entity_reference_layout/releases/8.x-1.0-alpha6

The erl_restriciton module needs to be updated to be compatible with the latest ERL version. At the moment I get the following error:

TypeError: Argument 10 passed to Drupal\erl_restriction\Plugin\Field\FieldWidget\ErlRestrictionWidget::__construct() must be an instance of Drupal\Core\Language\LanguageManager, instance of Drupal\Core\Plugin\PluginFormFactory given, called in /var/www/dbd/site/web/modules/contrib/entity_reference_layout/src/Plugin/Field/FieldWidget/EntityReferenceLayoutWidget.php on line 217 in Drupal\erl_restriction\Plugin\Field\FieldWidget\ErlRestrictionWidget->__construct() (line 38 of modules/contrib/erl_restriction/src/Plugin/Field/FieldWidget/ErlRestrictionWidget.php).

Comments

InaW created an issue. See original summary.

inaw’s picture

Status: Active » Needs review
StatusFileSize
new1.96 KB

I have created a patch to make the erl_restriciton module working again with ERL alpha6.

waluigi’s picture

Status: Needs review » Fixed

Hi @InaW

Thanks a bunch for the patch, it fixes the error properly.

BR Nicolas

  • waluigi committed 51b9611 on 8.x-1.x authored by InaW
    Issue #3150241 by InaW, waluigi: Module is not compatible with the ERL...
waluigi’s picture

Status: Fixed » Closed (fixed)

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