Breaks node edit/add

Created on 7 August 2024, 4 months ago
Updated 9 August 2024, 3 months ago

Problem/Motivation

On node edit or add, get WSOD

Steps to reproduce

Add or edit node

ArgumentCountError: Too few arguments to function Drupal\ckeditor5_plugin_pack\Config\SettingsConfigHandler::__construct(), 1 passed in docroot/core/lib/Drupal/Component/DependencyInjection/Container.php on line 261 and exactly 2 expected in Drupal\ckeditor5_plugin_pack\Config\SettingsConfigHandler->__construct() (line 37 of docroot/modules/contrib/ckeditor5_plugin_pack/src/Config/SettingsConfigHandler.php).

πŸ› Bug report
Status

Closed: works as designed

Version

1.2

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States aitala

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

Comments & Activities

  • Issue created by @aitala
  • πŸ‡΅πŸ‡±Poland salmonek

    Hi @aitala
    Did it happen just after update to 1.2.0?
    We have added second argument to the constructor of SettingsConfigHandler and that argument is also added in the service definition, so the DI should pass that new argument.
    Quick thought is that maybe caches weren't rebuilt after update - that would result indeed with passing only one argument through dependency injector.

  • πŸ‡ΊπŸ‡ΈUnited States aitala

    Caches should have been cleared & updates run, but I might be able to test it at some point. I had to revert as users were not able to update content.

    Will let you know.

    E

  • πŸ‡ΊπŸ‡ΈUnited States aitala

    Looks like I ended up with some sort of composer issue which either messed up the install of the basic plugin pack or the premium one. I removed both and re-installed and it's all working now.

    Thanks.
    Eric

  • Status changed to Closed: works as designed 3 months ago
  • πŸ‡΅πŸ‡±Poland salmonek

    Thank you for the update on situation.

    Cheers,
    Wojtek

Production build 0.71.5 2024