After updating the code from 11.2.9 => 11.3.3, I got the error when I want to update the database:

In ProcessBase.php line 171:

  [InvalidArgumentException]
  Unable to decode output into JSON: Syntax error

  TypeError: Drupal\ckeditor5\HTMLRestrictions::fromTextFormat(): Argument #1 ($text_format) must be of type Drupal\filter\FilterFormatInterface, null given, called in /mysite/web/core/modules/ckeditor5/src/Hook/Ckedit
  or5Hooks.php on line 421 in Drupal\ckeditor5\HTMLRestrictions::fromTextFormat() (line 449 of /mysite/web/core/modules/ckeditor5/src/HTMLRestrictions.php).

Then I can't update my database. I still have the tables from those modules to update:

 ----------------- --------------- ------------- ------------------------------
  Module            Update ID       Type          Description
 ----------------- --------------- ------------- ------------------------------
  ckeditor5         list_type_aga   post-update   Updates Text Editors using
                    in                            CKEditor 5 to native List
                                                  "type" functionality.
  node              add_rebuild_p   post-update   Grants a new permission for
                    ermission_to_                 rebuilding node access
                    roles                         permissions.
  node              create_promot   post-update   Creates base field override
                    e_base_field_                 config for the promote base
                    overrides                     field on node types.
  security_review   add_account_c   post-update   Add account_creation to
                    reation_skip                  security_review skipped
                                                  checks.
  security_review   hushed_view_s   post-update   Add the hushed_view setting
                    etting                        key.
  system            delete_rss_co   post-update   Delete obsolete system.rss
                    nfig                          configuration.
  update            fix_update_em   post-update   Remove empty email addresses
                    ails                          from update.settings
                                                  configuration.
  views             add_date_defa   post-update   Clear cache to add new date
                    ult_arguments                 default arguments.
  views             format_plural   post-update   Updates the format plural
                                                  option for those views using
                                                  aggregation.

I don't know where to check to avoid that issue.

Comments

rondev’s picture

Didn't find the issue.
I did some:

UPDATE node_revision__field_corpsprincipal SET field_corpsprincipal_format = 'redaction' WHERE field_corpsprincipal_format = 'redaction_simple'; 
UPDATE taxonomy_term_field_revision  SET description__format = 'basic_html' WHERE description__format IS NULL;
UPDATE taxonomy_term_field_revision SET description__format = 'basic_html' WHERE description__format IS NULL;

But without success.
I then took the nuclear weapon:

drush pm:uninstall ckeditor5
drush updatedb
drush pm:install ckeditor5

But I loose everything I set up with ckeditor. :-(