I get the warning "Warning: preg_match_all() expects parameter 2 to be string, array given in _media_wysiwyg_generate_tagMap()" when editing long text field with summary

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

junaidpv created an issue. See original summary.

junaidpv’s picture

Status: Active » Needs review
FileSize
908 bytes

Here is the patch handling this issue.

ron_s’s picture

Status: Needs review » Closed (duplicate)
Related issues: +#1943886: Errors when using a field of '#type' => 'text_format'

Marking as closed because I believe this issue is solved by using the approach described here:
https://www.drupal.org/project/media/issues/1943886#comment-9235547

Is the issue in the node summary field, or a custom entity? Or possibly a supporting module that generates a summary field? Without knowing this information, won't know for sure where the fix needs to be made.

Whichever is the case, it should be resolved at the source of the problem.

junaidpv’s picture

OK. We will check this in next sites updates on our server. Thanks for the info.