TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array() (line 63 of modules/contrib/redirect_anonymous_users/src/EventSubscriber/RedirectAnonymousSubscriber.php).

Created on 15 January 2024, 6 months ago
Updated 13 June 2024, 16 days ago

Problem/Motivation

after enabeling on D10 php8.2
cleared cache
TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array() (line 63 of modules/contrib/redirect_anonymous_users/src/EventSubscriber/RedirectAnonymousSubscriber.php).

Steps to reproduce

D10 php8.2
enable module
go to site in incognito

Proposed resolution

fix

Remaining tasks

fix

🐛 Bug report
Status

Fixed

Version

1.0

Component

Code

Created by

🇧🇪Belgium ikeigenwijs

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

Comments & Activities

Production build 0.69.0 2024