Deprecation notice: str_replace Passing null to parameter #2 ($replace) of type array|string is deprecated in Drupal\Core\Access\RouteProcessorCsrf->processOutbound()

Created on 27 June 2022, over 2 years ago
Updated 4 February 2025, about 5 hours ago

Problem/Motivation

Deprecated function: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in Drupal\Core\Access\RouteProcessorCsrf->processOutbound() (line 41 of /core/lib/Drupal/Core/Access/RouteProcessorCsrf.php).

Drupal version : 9.4.1
php8.1.0

🐛 Bug report
Status

Closed: duplicate

Version

9.4

Component

other

Created by

🇺🇸United States jakegibs617

Live updates comments and jobs are added and updated live.
  • PHP 8.1

    The issue particularly affects sites running on PHP version 8.1.0 or later.

  • Needs tests

    The change is currently missing an automated test that fails when run with the original code, and succeeds when the bug has been fixed.

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.

Production build 0.71.5 2024