From 12210b1f077b16ad058c9d1472c9482e3397e245 Mon Sep 17 00:00:00 2001 From: catch Date: Thu, 10 Mar 2022 13:45:07 +0000 Subject: [PATCH] Issue #3268272 by sayco: TypeError: strpos(): Argument #1 ($haystack) must be of type string, int given in strpos() (cherry picked from commit e605d0d3b73185cf5c2561f697c847684413d921) --- core/modules/ckeditor5/ckeditor5.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/modules/ckeditor5/ckeditor5.module b/core/modules/ckeditor5/ckeditor5.module index 293e1324ef8..9bc27675e3a 100644 --- a/core/modules/ckeditor5/ckeditor5.module +++ b/core/modules/ckeditor5/ckeditor5.module @@ -212,7 +212,7 @@ function ckeditor5_form_filter_format_form_alter(array &$form, FormStateInterfac } foreach ($plugins_config_form as $key => &$value) { - if (is_array($value) && strpos($key, '#') === FALSE) { + if (is_array($value) && strpos((string) $key, '#') === FALSE) { _add_ajax_listeners_to_plugin_inputs($value); } }