Notice: Trying to access array offset on value of type null with PHP 7.4

Created on 11 March 2021, about 4 years ago
Updated 5 December 2024, 4 months ago

Problem/Motivation

When saving user profile using PHP 7.4, we get
Notice: Trying to access array offset on value of type null in function SchemaHasPartBase::actionValidation() (rivi 242 tiedostossa /srv/sanoma/lauta/build-develop-122/sites/all/modules/contrib/schema_metatag/src/SchemaActionTrait.php).

PHP 7.4 is less permissive on accessing NULL type.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇫🇮Finland jyrkih

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