PHP error while trying to edit a page

Created on 28 April 2021, about 3 years ago
Updated 31 May 2024, 24 days ago

Problem/Motivation

This module seems to be exactly what I'm looking for to improve my content edition experience, so I installed it and configured it as explained on module's page. But since then, when I try to edit a page, the error "the website encountered an unexpected error, please try again latter" is displayed (I think it's the famous white screen of death). This also happens when I try to access the CKEditor configuration page (/admin/config/content/formats/manage/full_html)

Steps to reproduce

Install the module and try to use it (I'm using D8.9.14).
I think it might be related to other modules I have installed, like bootstrap layouts β†’ , for example.

Error : Call to a member function id() on array dans _bootstrap_layouts_preprocess_layout() (/var/www/drupal-dev.local/web/modules/contrib/bootstrap_layouts/bootstrap_layouts.module ligne 87)

#0 /var/www/drupal-dev.local/web/core/lib/Drupal/Core/Theme/ThemeManager.php(287): _bootstrap_layouts_preprocess_layout(Array, 'bs_4col', Array)
#1 /var/www/drupal-dev.local/web/core/lib/Drupal/Core/Render/Renderer.php(431): Drupal\Core\Theme\ThemeManager->render('bs_4col', Array)
#2 /var/www/drupal-dev.local/web/core/lib/Drupal/Core/Render/Renderer.php(200): Drupal\Core\Render\Renderer->doRender(Array, false)
#3 /var/www/drupal-dev.local/web/modules/contrib/ckeditor_layouts/src/Plugin/CKEditorPlugin/Layouts.php(191): Drupal\Core\Render\Renderer->render(Array)
#4 /var/www/drupal-dev.local/web/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php(282): Drupal\ckeditor_layouts\Plugin\CKEditorPlugin\Layouts->getConfig(Object(Drupal\editor\Entity\Editor))
#5 /var/www/drupal-dev.local/web/core/modules/ckeditor/src/Plugin/Editor/CKEditor.php(237): Drupal\ckeditor\Plugin\Editor\CKEditor->getJSSettings(Object(Drupal\editor\Entity\Editor))
#6 /var/www/drupal-dev.local/web/core/modules/editor/editor.module(176): Drupal\ckeditor\Plugin\Editor\CKEditor->buildConfigurationForm(Array, Object(Drupal\Core\Form\SubformState))
#7 /var/www/drupal-dev.local/web/core/lib/Drupal/Core/Extension/ModuleHandler.php(539): editor_form_filter_format_form_alter(Array, Object(Drupal\Core\Form\FormState), 'filter_format_e...')
#8 /var/www/drupal-dev.local/web/core/lib/Drupal/Core/Form/FormBuilder.php(836): Drupal\Core\Extension\ModuleHandler->alter('form', Array, Object(Drupal\Core\Form\FormState), 'filter_format_e...')
#9 /var/www/drupal-dev.local/web/core/lib/Drupal/Core/Form/FormBuilder.php(279): Drupal\Core\Form\FormBuilder->prepareForm('filter_format_e...', Array, Object(Drupal\Core\Form\FormState))
#10 /var/www/drupal-dev.local/web/core/lib/Drupal/Core/Controller/FormController.php(91): Drupal\Core\Form\FormBuilder->buildForm(Object(Drupal\filter\FilterFormatEditForm), Object(Drupal\Core\Form\FormState))
…

Sometimes the 'bs_4col' line 0 of the error is replaced by 'bs_1col_stacked'.

I'm not a drupal or PHP developer so unfortunately I cannot try to find a fix by myself.

πŸ› Bug report
Status

Closed: works as designed

Version

1.0

Component

Code

Created by

πŸ‡«πŸ‡·France jblouvet

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.69.0 2024