Problem/Motivation
i am trying to install theme then getting this error and i'm using D9.
The website encountered an unexpected error. Please try again later.
Drupal\Core\Config\UnsupportedDataTypeConfigException: Invalid data type in config block.block.status_zymphonies_theme_branding, found in file themes/contrib/status_zymphonies_theme/config/optional/block.block.status_zymphonies_theme_branding.yml: Duplicate key "langcode" detected at line 23 (near "langcode: en"). in Drupal\Core\Config\FileStorage->read() (line 118 of core\lib\Drupal\Core\Config\FileStorage.php).
Drupal\Core\Config\FileStorage->readMultiple(Array) (Line: 224)
Drupal\Core\Config\ConfigInstaller->installOptionalConfig(Object, '') (Line: 164)
Drupal\Core\Config\ConfigInstaller->installDefaultConfig('theme', 'status_zymphonies_theme') (Line: 75)
Drupal\Core\ProxyClass\Config\ConfigInstaller->installDefaultConfig('theme', 'status_zymphonies_theme') (Line: 237)
Drupal\Core\Extension\ThemeInstaller->install(Array) (Line: 141)
Drupal\system\Controller\ThemeController->install(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: 121)
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)
Steps to reproduce
try to install theme in Appearance
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes