Error in path settings

Created on 24 January 2023, almost 2 years ago
Updated 1 August 2024, 4 months ago

Problem/Motivation

Error access to example.com/admin/config/search/path/settings

in drupal 9.5.2 and php 8.1

The website encountered an unexpected error. Please try again later.
TypeError: in_array(): Argument #2 ($haystack) must be of type array, null given in in_array() (line 153 of modules/contrib/pathauto/src/Form/PathautoSettingsForm.php).
in_array() (Line: 153)
Drupal\pathauto\Form\PathautoSettingsForm->buildForm()
call_user_func_array() (Line: 534)
Drupal\Core\Form\FormBuilder->retrieveForm() (Line: 281)
Drupal\Core\Form\FormBuilder->buildForm() (Line: 73)
Drupal\Core\Controller\FormController->getContentResult()
call_user_func_array() (Line: 123)

🐛 Bug report
Status

Closed: duplicate

Version

1.11

Component

Code

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024