Problem/Motivation

Warning: preg_match_all() expects parameter 2 to be string, array given in Drupal\content_synchronizer\Plugin\content_synchronizer\type_processor\FieldItemListProcessor->exportIncludedImages() (line 44 of /app/public/web/modules/contrib/content_synchroniz
 

With complex field, value can be an array or null.
preg_match_all returns a warning message if value is not a string

Proposed resolution

test value type

Comments

pierrelbz created an issue. See original summary.

pierrelbz’s picture

  • pierrelbz authored eccf639 on 3.x
    Issue #3197981 by pierrelbz: Warning Message with complex  fields
    
tsecher’s picture

Thank you for your issue. Patch applied on 3.0.5

tsecher’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

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