When I visit admin/config/people/accounts/form-display on the site I get the following warning:

Warning: Declaration of Drupal\image_field_tokens\Plugin\Field\FieldWidget\ImageFieldTokensWigdet::process(array $element, Drupal\Core\Form\FormStateInterface $form_state, array $form) should be compatible with Drupal\image\Plugin\Field\FieldWidget\ImageWidget::process($element, Drupal\Core\Form\FormStateInterface $form_state, $form) in include() (line 21 of modules/contrib/image_field_tokens_d8/src/Plugin/Field/FieldWidget/ImageFieldTokensWigdet.php).

Suggestions?

CommentFileSizeAuthor
#2 image_field_tokens_d8-3002311-1.patch704 bytesIreneV

Comments

Christopher Riley created an issue. See original summary.

IreneV’s picture

Status: Active » Needs review
StatusFileSize
new704 bytes

Thank you for reporting issue.

Patch for warning provided. Please check.

ysamoylenko’s picture

Status: Needs review » Reviewed & tested by the community

The patch works fine. Thank you.

  • ysamoylenko committed df9bce3 on 8.x-1.x authored by IreneV
    Issue #3002311 by IreneV: Warning when editing user manage display
    
ysamoylenko’s picture

Status: Reviewed & tested by the community » Fixed

The patch was committed.

Status: Fixed » Closed (fixed)

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