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

Created on 18 July 2023, over 1 year ago
Updated 23 September 2023, about 1 year ago

We have combination of users, some are part of group and some are not.
Those users who are not part of any group have an empty value for field_user_adfs_role, and here is where the code is failing with the following error :

TypeError: array_walk(): Argument #1 ($array) must be of type array, null given in array_walk() (line 77 of /var/www/html/q-test/web/modules/contrib/gsaml/gsaml.module)
#0 /var/www/html/q-test/web/modules/contrib/gsaml/gsaml.module(77): array_walk()
#1 [internal function]: gsaml_simplesamlphp_auth_user_attributes()

๐Ÿ› Bug report
Status

Fixed

Version

2.5

Component

Code

Created by

๐Ÿ‡ฎ๐Ÿ‡ณIndia pratikshad Mumbai

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

Comments & Activities

Production build 0.71.5 2024