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

Created on 15 November 2023, about 1 year ago
Updated 3 June 2024, 7 months ago

Problem/Motivation

TypeError: array_keys(): Argument #1 ($array) must be of type array, null given in array_keys() (line 142 of /var/www/html/web/modules/contrib/paragraphs_browser/src/Form/ParagraphTypeGroupsForm.php).

Steps to reproduce

Add a new Paragraphs Browser type and take Manage Groups tab of a paragraph type (newly created) and save the form without adding any groups to the Paragraphs browser types.

Proposed resolution

Fix the TypeError.

🐛 Bug report
Status

Needs review

Version

1.0

Component

Code

Created by

🇮🇳India mukhtarm

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

Comments & Activities

Production build 0.71.5 2024