Hello,

On D9.5.2, I get this message after enabled the new admin theme. Are you aware about ?

Thanks

Deprecated function: preg_match(): Passing null to parameter #2 ($subject) of type string is deprecated in Drupal\Core\StreamWrapper\StreamWrapperManager::getScheme() (line 256 of core/lib/Drupal/Core/StreamWrapper/StreamWrapperManager.php).
Drupal\Core\StreamWrapper\StreamWrapperManager::getScheme(NULL) (Line: 301)
Drupal\system\Form\ThemeSettingsForm->buildForm(Array, Object, 'claro')
call_user_func_array(Array, Array) (Line: 534)
Drupal\Core\Form\FormBuilder->retrieveForm('system_theme_settings', Object) (Line: 281)
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: 580)
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: 169)
Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object, 1) (Line: 81)
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: 182)
Drupal\cleantalk\EventSubscriber\BootSubscriber->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: 23)
Stack\StackedHttpKernel->handle(Object, 1, 1) (Line: 713)
Drupal\Core\DrupalKernel->handle(Object) (Line: 19)

Comments

aiphes created an issue. See original summary.

cilefen’s picture

Status: Active » Postponed (maintainer needs more info)

Something there is wrong with the logo.svg or favicon.ico default setting on the theme configuration forms. What are those values set to?

aiphes’s picture

Hi,

It was those of my custom theme:

themes/custom/provform-d9-2021/logo.svg
themes/custom/provform-d9-2021/favicon.ico

Since, I change the admin theme Claro for Adminimal, with default settings, and it go as designed.
On some others websites with Claro, default settings doesn't work, I need to give the path to favicon and logo. But it isen't the reason whay I get 500 error on authentified mode.

Version: 9.5.x-dev » 11.x-dev

Drupal core is moving towards using a “main” branch. As an interim step, a new 11.x branch has been opened, as Drupal.org infrastructure cannot currently fully support a branch named main. New developments and disruptive changes should now be targeted for the 11.x branch. For more information, see the Drupal core minor version schedule and the Allowed changes during the Drupal core release cycle.

pameeela’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
Issue tags: +Bug Smash Initiative

No additional info provided so I'm closing this, if anyone is able to reproduce it please update the issue summary with steps.

harry slaughter’s picture

I get the same errors when going to /admin/appearance/settings. We use a custom theme.