menu_link_content : PHP Deprecated: parse_url(): Passing null

Created on 11 May 2023, over 1 year ago

Problem/Motivation

When using PHP 8.1 - Deprecated function: parse_url(): Passing null to parameter #1 ($url) of type string is deprecated in /var/www/html/web/core/modules/menu_link_content/src/
Entity/MenuLinkContent.php on line 198

Steps to reproduce

Juste get the php logs.

Proposed resolution

Convert to patch or merge request.

πŸ› Bug report
Status

Needs work

Version

9.5

Component
Menu link contentΒ  β†’

Last updated 4 months ago

Created by

Live updates comments and jobs are added and updated live.
  • 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

Production build 0.71.5 2024