Warning: Trying to access array offset on value of type null in Drupal\user_default_page\Form\UserDefaultPageConfigEntityForm->validateForm()

Created on 29 September 2022, over 2 years ago
Updated 7 July 2024, 6 months ago

Problem/Motivation

Warning: Trying to access array offset on value of type null in Drupal\user_default_page\Form\UserDefaultPageConfigEntityForm->validateForm() (line 211 of /drupal/modules/contrib/user_default_page/src/Form/UserDefaultPageConfigEntityForm.php)

Steps to reproduce

1- Install module
2- Add default page here: /admin/config/people/user_default_page
3- Do not select anything in Select User field.
4- Save form.
5- Check log message for warning.

Proposed resolution

Create a Patch.

Remaining tasks

None

🐛 Bug report
Status

Needs review

Version

9.0

Component

Code

Created by

🇮🇳India narendra.rajwar27 India

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

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024