Olivero Settings Save Configuration Gets Error Message 'debug' is not a supported key.

Created on 17 September 2024, about 1 month ago

Problem/Motivation

On Drupal 11.0.4, PHP 8.3.10, 10.6.18-MariaDB, nginx/1.24.0 I get error "'debug' is not a supported key." when clicking on "Save Configuration" within Olivero Settings.

Steps to reproduce

1. As per above environment - Go into Olivero theme as admin, go to Settings, and click on "Save Configuration."
- You'll get error message "'debug' is not a supported key."

Proposed resolution

Remaining tasks

User interface changes

Introduced terminology

API changes

Data model changes

Release notes snippet

πŸ› Bug report
Status

Postponed: needs info

Version

11.0 πŸ”₯

Component
OliveroΒ  β†’

Last updated about 7 hours ago

Created by

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

Comments & Activities

  • Issue created by @josephgut
  • Status changed to Postponed: needs info about 1 month ago
  • I haven't been able to reproduce this bug. Here is what I did:

    1. Used https://simplytest.me to install Drupal from the 11.x branch.
    2. Saved the Olivero theme settings.
    3. There was not an error.

    Because you have access to a site that can exhibit this bug we need enhanced steps to reproduce from you to figure out why this occurs.

  • πŸ‡¨πŸ‡¦Canada mandclu

    I ran into this problem as well, on a site running Drupal 10.3.5. I had a sneaking suspicion that the problem was configuration related, so I went to the config sync UI, and did a single item export for olivero.settings, and sure enough at the end of the export I saw debug: 0. I copied the output up to that point (basically the full export without it), and then did a single item import for olivero.settings and pasted in my modified config. After importing that I can now save the Olivero settings form as expected.

    I suspect that the Twig debug option currently available at /admin/config/development/settings used to be in the Olivero settings form at one point, and sites that saved the Olivero form then ended up with an extra config key that will prevent saving in current versions of Drupal.

  • Hi,

    I think you're onto something here as my debug is set to 0. For some reason though when I try to do the Import of "olivero.settings" (single item, simple configuration), I get a ton of messages such as:

    Error message
    The configuration cannot be imported because it failed validation for the following reasons:
    Configuration acquia.settings depends on the acquia extension that will not be installed after import.
    Configuration admire.settings depends on the admire extension that will not be installed after import.
    Configuration block.block.acquia_marina_block_26 depends on the acquia_marina theme that will not be installed after import.
    Configuration block.block.acquia_marina_block_50 depends on the acquia_marina theme that will not be installed after import.
    Configuration block.block.acquia_marina_block_51 depends on the acquia_marina theme that will not be installed after import.
    Configuration block.block.acquia_marina_block_57 depends on the acquia_marina theme that will not be installed after import.
    Configuration block.block.acquia_marina_block_61 depends on the acquia_marina theme that will not be installed after import.
    Configuration block.block.acquia_marina_block_65 depends on the acquia_marina theme that will not be installed after import.
    Configuration block.block.acquia_marina_block_67 depends on the acquia_marina theme that will not be installed after import.
    Configuration block.block.acquia_marina_block_69 depends on the acquia_marina theme that will not be installed after import.
    Configuration block.block.acquia_marina_block_70 depends on the acquia_marina theme that will not be installed after import.

    I think I remember those left over a couple of Drupal versions ago, so I probably have to remove those and then try again. I'll do that and let. you know making sure of course to backup the DB first. Thank you!

    - Joseph

  • Hi mandclu,

    I went through all of those old dependencies and deleted them and followed your instructions to re-import Olivero and all is happy now. No more "'debug' is not a supported key" message. With these instructions the issue is now resolved. Thank you!

    - Joseph

Production build 0.71.5 2024