Upgrading to 2.8 from 1.14 throws WSOD error: plugin.manager.gutenberg.library missing

Created on 13 December 2023, 11 months ago
Updated 20 May 2024, 6 months ago

Problem/Motivation

Preparing for D10 upgrade on UpgradeStatus list, I upgraded Gutenberg from 1.14 to 2.8. Composer reported no problems with upgrade. Site now reports an error on white screen.

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

Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException: You have requested a non-existent service "plugin.manager.gutenberg.library". Did you mean this: "plugin.manager.gutenberg.plugin"? in Drupal\Component\DependencyInjection\Container->get() (line 157 of core/lib/Drupal/Component/DependencyInjection/Container.php).
Drupal::service() (Line: 939)
gutenberg_page_attachments() (Line: 315)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 405)
Drupal\Core\Extension\ModuleHandler->invokeAllWith() (Line: 316)
Drupal\Core\Render\MainContent\HtmlRenderer->invokePageAttachmentHooks() (Line: 289)
Drupal\Core\Render\MainContent\HtmlRenderer->Drupal\Core\Render\MainContent\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 290)
Drupal\Core\Render\MainContent\HtmlRenderer->prepare() (Line: 132)
Drupal\Core\Render\MainContent\HtmlRenderer->renderResponse() (Line: 90)
Drupal\Core\EventSubscriber\MainContentViewSubscriber->onViewRenderArray()
call_user_func() (Line: 142)
Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher->dispatch() (Line: 174)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 81)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 116)
Drupal\cloudflare\CloudFlareMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 23)
Stack\StackedHttpKernel->handle() (Line: 718)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Steps to reproduce

composer require 'drupal/gutenberg:^2.8' -W

πŸ› Bug report
Status

Closed: outdated

Version

2.8

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States timkroehler

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

Comments & Activities

  • Issue created by @timkroehler
  • Status changed to Postponed: needs info 11 months ago
  • πŸ‡΅πŸ‡ΉPortugal marcofernandes

    I tried to replicate this but couldn't.
    Steps:

    • Installed Drupal 9.5.11
    • Installed Gutenberg 1.14
    • Enabled Gutenberg module
    • Enabled Gutenberg Experience in Page content type
    • Created a page with some blocks
    • Installed/upgraded Gutenberg to 2.8
    • Ran drush updb (without updating the database, errors will be thrown). Also tested by updating via page /update.php
    • Edited and saved successfully the existing page previously saved in Gutenberg 1.14
  • Status changed to Closed: outdated 6 months ago
  • πŸ‡΅πŸ‡ΉPortugal marcofernandes

    Closing since no more information was added.

Production build 0.71.5 2024