Installing bricks_default_blocks on Drupal 10 causes "The theme bartik does not exist." error.

Created on 19 April 2023, about 1 year ago
Updated 26 May 2023, about 1 year ago

Problem/Motivation

On install of the bricks_default_blocks submodule, Drupal 10 throws an error because Bartik is gone, and the install is looking for Bartik.

I didn't try the dev version of this module since it looked like it was released at the same time as the last alpha.

Steps to reproduce

* Create a new Drupal 10 instance.
* Try to install bricks_default_blocks.

You will get this error:

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

Drupal\Core\Extension\Exception\UnknownExtensionException: The theme bartik does not exist. in Drupal\Core\Extension\ExtensionList->getPathname() (line 522 of core/lib/Drupal/Core/Extension/ExtensionList.php).

Drupal\Core\Extension\ExtensionList->getPath() (Line: 20)
bricks_default_blocks_install()
call_user_func_array() (Line: 400)
Drupal\Core\Extension\ModuleHandler->invoke() (Line: 349)
Drupal\Core\Extension\ModuleInstaller->install() (Line: 83)
Drupal\Core\ProxyClass\Extension\ModuleInstaller->install() (Line: 175)
Drupal\system\Form\ModulesListConfirmForm->submitForm()
call_user_func_array() (Line: 114)
Drupal\Core\Form\FormSubmitter->executeSubmitHandlers() (Line: 52)
Drupal\Core\Form\FormSubmitter->doSubmitForm() (Line: 595)
Drupal\Core\Form\FormBuilder->processForm() (Line: 323)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult()
call_user_func_array() (Line: 123)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 580)
Drupal\Core\Render\Renderer->executeInRenderContext() (Line: 124)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->wrapControllerExecutionInRenderContext() (Line: 97)
Drupal\Core\EventSubscriber\EarlyRenderingControllerWrapperSubscriber->Drupal\Core\EventSubscriber\{closure}() (Line: 163)
Symfony\Component\HttpKernel\HttpKernel->handleRaw() (Line: 74)
Symfony\Component\HttpKernel\HttpKernel->handle() (Line: 58)
Drupal\Core\StackMiddleware\Session->handle() (Line: 48)
Drupal\Core\StackMiddleware\KernelPreHandle->handle() (Line: 106)
Drupal\page_cache\StackMiddleware\PageCache->pass() (Line: 85)
Drupal\page_cache\StackMiddleware\PageCache->handle() (Line: 48)
Drupal\Core\StackMiddleware\ReverseProxyMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\NegotiationMiddleware->handle() (Line: 51)
Drupal\Core\StackMiddleware\StackedHttpKernel->handle() (Line: 686)
Drupal\Core\DrupalKernel->handle() (Line: 19)

Though, I do think the install at least partially worked. The module shows as enabled, and there is some block configuration available. I'm new to Bricks so I don't know if anything is missing...

Proposed resolution

Don't have a dependency on Bartik.

Remaining tasks

N/A

User interface changes

N/A

API changes

N/A

Data model changes

N/A

๐Ÿ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States jerrac

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

Comments & Activities

Production build 0.69.0 2024