TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array()

Created on 10 August 2023, almost 2 years ago
Updated 14 September 2023, almost 2 years ago

Problem/Motivation

TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array() (line 20 of /app/modules/contrib/dynamic_menu_item/dynamic_menu_item.module)

Steps to reproduce

Enable the module in Drupal 9 instance.
Don't update any configuration.
Try to access the edit form of node.

Proposed resolution

Provided MR

Remaining tasks

Review and merge.

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇮🇳India sakthi_dev

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

Comments & Activities

Production build 0.71.5 2024