PHP 8.1: Deprecated function

Created on 23 June 2022, over 2 years ago
Updated 26 June 2023, over 1 year ago

The following error is produced when creating/saving/editing menu items referencing a token using PHP 8.1:

Deprecated function: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in menu_token_menu_links_discovered_alter() (line 450 of modules/contrib/menu_token/menu_token.module).

Explicitly casting the argument as string, since null will return an empty string./h3>

๐Ÿ› Bug report
Status

Needs review

Version

9.1

Component

Code

Created by

๐Ÿ‡ฆ๐Ÿ‡บAustralia j-henriquez

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.

Production build 0.71.5 2024