Deprecated function: preg_match(): Passing null to parameter

Created on 27 January 2023, almost 2 years ago
Updated 13 September 2024, 2 months ago

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)
🐛 Bug report
Status

Closed: cannot reproduce

Version

11.0 🔥

Component
Claro 

Last updated about 21 hours ago

Created by

🇫🇷France aiphes

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • Issue created by @aiphes
  • Status changed to Postponed: needs info almost 2 years ago
  • Something there is wrong with the logo.svg or favicon.ico default setting on the theme configuration forms. What are those values set to?

  • 🇫🇷France aiphes

    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.

  • Status changed to Closed: cannot reproduce 2 months ago
  • 🇦🇺Australia pameeela

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

Production build 0.71.5 2024