Closed (duplicate)
Project:
Gutenberg
Version:
8.x-2.0-beta2
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
30 Jun 2020 at 15:13 UTC
Updated:
9 May 2021 at 18:36 UTC
Jump to comment: Most recent

Comments
Comment #2
thi3rry commentedI have the same issue and found an error in reports :
ArgumentCountError: Too few arguments to function Drupal\media_library\MediaLibraryUiBuilder::__construct(), 4 passed in /Users/thierrypoinot/Sites/drupal/core/lib/Drupal/Component/DependencyInjection/Container.php on line 257 and exactly 5 expected in Drupal\media_library\MediaLibraryUiBuilder->__construct() (line 76 of core/modules/media_library/src/MediaLibraryUiBuilder.php)With Drupal 9, MediaLibraryUiBuilder adds an arguments in constructor "@media_library.opener_resolver"
To solve the error Add a 5th arguments in the gutenberg.services.yml for the gutenberg.media_library.ui_builder services :
File : gutenberg.services.yml
This issue seems a duplicate with : https://www.drupal.org/project/gutenberg/issues/3150127
Comment #3
thi3rry commentedComment #4
bellenss commentedI have the same issue on Drupal 9.0.3 with Media Library activated. Confirming the modification in #2 fixes the issue.
Comment #5
vince_pl commentedI checked and on Gutenberg 2.x-dev on Drupal 9.0.5, problem also exist.
The same issue is described in more detail here https://www.drupal.org/project/gutenberg/issues/3150127
Comment #6
johan den hollander commentedComment #7
Haessler commentedOn uploading images in an Gutenberg Block still responded with undefined is not an object (evaluating 'L.title.raw')
Deactivating Media Library is not an option.
Using Drupal 9.1.3 (en), Gutenberg Version: 8.x-1.11
Comment #8
Haessler commentedStill the same bug. Does anybody care?
Comment #9
szeidlerHave you tested the patch in #3150127: Insert Image or Media shows blank modal Media Library window? According to the comments above this should fix the issue. We're working on doing a proper stable release in May that includes a lot of Bugfixes that have been added to the dev version.