easy_breadcrumb.settings key contains a dot which is not supported

Created on 22 September 2023, over 1 year ago
Updated 7 August 2024, 5 months ago

White screen error just by enabling the module on a fresh drupal install, going to its settings and save the defaults without touching anything.

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

Drupal\Core\Config\ConfigValueException: easy_breadcrumb.settings key contains a dot which is not supported.
in Drupal\Core\Config\ConfigBase->validateKeys() (line 211 of core/lib/Drupal/Core/Config/ConfigBase.php).

Drupal\Core\Config\ConfigBase->set('config_enforce', Array) (Line: 184)
Drupal\Core\Config\Config->set('config_enforce', Array) (Line: 438)
Drupal\easy_breadcrumb\Form\EasyBreadcrumbGeneralSettingsForm->submitForm(Array, Object)
call_user_func_array(Array, Array) (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers(Array, Object) (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm(Array, Object) (Line: 597)
Drupal\Core\Form\FormBuilder->processForm('easy_breadcrumb_general_settings', Array, Object) (Line: 325)
Drupal\Core\Form\FormBuilder->buildForm(Object, Object) (Line: 73)
Drupal\Core\Controller\FormController->getContentResult(Object, Object)
call_user_func_array(Array, Array) (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 592)
Drupal\Core\Render\Renderer->executeInRenderContext(Object, Object) (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext(Array, Array) (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 182)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 76)
Symfony\Component\HttpKernel\HttpKernel->handle(Object, 1, 1) (Line: 58)
Drupal\Core\StackMiddleware\Session->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle(Object, 1, 1) (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass(Object, 1, 1) (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle(Object, 1, 1) (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle(Object, 1, 1) (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle(Object, 1, 1) (Line: 704)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)
🐛 Bug report
Status

Closed: outdated

Version

2.0

Component

Code

Created by

🇮🇹Italy kopeboy Milan

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

Comments & Activities

  • Issue created by @kopeboy
  • 🇮🇳India shiv_yadav

    Hello kopeboy,
    - I installed this module but not got any error.
    - I think not issue on this module.
    my configuration- drupal-10.1.3
    Attached screenshot as well.

  • Status changed to Needs review over 1 year ago
  • 🇺🇦Ukraine paulrad

    Hi, @kopeboy!
    Could not reproduce your issue on both 2.x-dev and 2.0.5 versions.
    Debugged the module and got no keys with dots in the name at form submit.

    Could you debug line 441 of the EasyBreadcrumbGeneralSettingsForm.php file and look through the $values array?

  • Status changed to Postponed: needs info about 1 year ago
  • 🇺🇸United States Greg Boggs Portland Oregon

    My guess here is that you have a typo in your EB config file. Can you try deleting it from your sync folder and re-exporting it to see if that fixes it?

  • Status changed to Closed: outdated 5 months ago
Production build 0.71.5 2024