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

Created on 15 November 2023, 8 months ago
Updated 3 June 2024, 25 days 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.69.0 2024