AssertionError: Schema errors: Array ( [editor.editor.id_does_not_matter:settings.plugins.ckeditor5_plugin_pack_word_count__word_count.word_count_enabled] => variable type is integer but applied schema class is Drupal\Core\TypedData\Plugin\DataType\Boolea

Created on 15 May 2024, about 1 month ago
Updated 14 June 2024, 12 days ago

I activated the CKEditor 5 Word Count module.

During configuration and activation on CKEditor, I encountered this error:

"The website encountered an unexpected error. Please try again later.

AssertionError: Schema errors: Array ( [editor.editor.id_does_not_matter:settings.plugins.ckeditor5_plugin_pack_word_count__word_count.word_count_enabled] => variable type is integer but applied schema class is Drupal\Core\TypedData\Plugin\DataType\BooleanData ) in assert() (line 737 of core/modules/ckeditor5/src/Plugin/Editor/CKEditor5.php)."

ERROR β†’

Problem: Cast integer to Boolean problem,

I was able to fix it and generate this patch:

ckeditor5-plugin-pack-word-count-fix-cast-int-to-bool.patch β†’

πŸ› Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

πŸ‡²πŸ‡¦Morocco Anouar LOUEDZIANE

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.69.0 2024