PHP 7.4, PHP 8.0, PHP 8.1 - array offset on value of type null in field_collection_field_get_path()

Created on 3 August 2022, over 2 years ago
Updated 15 July 2023, over 1 year ago

Problem/Motivation

Trying to access array offset on value of type null in field_collection_field_get_path() (line 477 of sites/all/modules/contrib/field_collection/field_collection.module)

Steps to reproduce

install field_collections
Take a working site that uses field_collections and PHP 7.2

Then upgrade the version of PHP to PHP 7.4, 8.0+.

Before patch:
warnings.

After patch:
No warnings.

Proposed resolution

see the latest patch

Remaining tasks

review the latest patch

πŸ› Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

πŸ‡¨πŸ‡¦Canada joseph.olstad

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.

  • PHP 8.0

    The issue particularly affects sites running on PHP version 8.0.0 or later.

  • 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