Class "Drupal\layout_builder_browser\Controller\LibraryController" not found

Created on 11 April 2024, 9 months ago
Updated 26 April 2024, 8 months ago

Problem/Motivation

Class "Drupal\layout_builder_browser\Controller\LibraryController" not found

Steps to reproduce

While installing sobki_profile_dsfr, I encoutered this error.

Proposed resolution

The origin of this issue comes from the extend class in the file "sobki_profile_dsfr/modules/sobki_admin/src/Controller/LayoutBuilderBrowserLibraryController.php" which contains the wrong name.

In order to work, we need to use "BrowserController" from the class "Drupal\layout_builder_browser\Controller\BrowserController" (and not "LibraryController" which does not exist in layout_builder_browser module).

💬 Support request
Status

Fixed

Version

10.0

Component

Code

Created by

🇭🇰Hong Kong davidpetit

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024