TypeError: array_unshift(): Argument #1 ($array) must be of type array, null given in array_unshift()

Created on 29 December 2023, 11 months ago
Updated 23 January 2024, 10 months ago

Problem/Motivation

When navigating to the edit form of a field using this modules, we see an error:

TypeError: array_unshift(): Argument #1 ($array) must be of type array, null given in array_unshift() (line 61 of modules/contrib/custom_add_another/custom_add_another.module).

Steps to reproduce

Use the 2.0.0-beta version and access a field that uses this module

Proposed resolution

It seems the form key for the submit button changed. This should be updated and will include in a patch.

๐Ÿ› Bug report
Status

Fixed

Version

2.1

Component

Code

Created by

๐Ÿ‡บ๐Ÿ‡ธUnited States peachez

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024