PHP 7.4 Notice : Trying to access array offset on value of type null in theme_picture_formatter()

Created on 22 July 2021, almost 3 years ago
Updated 13 September 2023, 10 months ago

Problem/Motivation

I get this notice after upgrading to PHP 7.4:

Notice: Trying to access array offset on value of type null in theme_picture_formatter() (line 1168 of ../sites/all/modules/contrib/picture/picture.module)."

Steps to reproduce

After upgrading PHP version to 7.4, picture module throw notice.

🐛 Bug report
Status

Fixed

Version

2.13

Component

Code

Created by

🇮🇳India RajatC

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

    The issue particularly affects sites running on PHP version 7.4.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.69.0 2024