Deprecated function: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated

Created on 8 September 2022, about 2 years ago
Updated 14 August 2024, 3 months ago

Problem/Motivation

Deprecated function: unserialize(): Passing null to parameter #1 ($data) of type string is deprecated in icon_bundles() (line 340 of /var/www/html/sites/all/modules/contrib/icon/icon.module).

Proposed resolution

Add a check for if the bundle is NULL, if don't call unserialize() in that case.

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

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.

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