Passing null to parameter #1 ($string) of type string is deprecated in MemcachedConnection

Created on 8 July 2025, 2 months ago

Problem/Motivation

Deprecated function: md5(): Passing null to parameter #1 ($string) of type string is deprecated in Drupal\memcache\Connection\MemcachedConnection->__construct()

Steps to reproduce

On the websit I'm running It occurs on ( almost ) every page.
The error is logged in the watchdog

Proposed resolution

Set base url to '' if it is empty.

Remaining tasks

- Agree on proposed resolution
- Create patch

User interface changes

-

API changes

-

Data model changes

-

🐛 Bug report
Status

Active

Version

2.0

Component

Code

Created by

🇳🇱Netherlands scuba_fly Netherlands, Vinkeveen

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

Comments & Activities

Production build 0.71.5 2024