PreExistingConfigException (block.block.searchform)

Created on 25 April 2025, 18 days ago

Problem/Motivation

I installed the theme using composer and enabled it on admin/appearance. It threw this error:
Uncaught PHP Exception Drupal\\Core\\Config\\PreExistingConfigException: "Configuration objects (block.block.searchform) provided by revolt already exist in active configuration"

Steps to reproduce

I forget the exact details, but this is a local site that had an empty database. All I'd done is installed the site and test out several themes. This is D10.4.6.

Proposed resolution

I see that only this theme and the 'mili' theme define a searchform. That theme is one of the ones I tested earlier and it was still enabled. So, I'd suggest giving your searchform a more unique name as a defensive measure.

πŸ› Bug report
Status

Active

Version

1.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States TolstoyDotCom L.A.

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

Comments & Activities

Production build 0.71.5 2024