php 8.1 - #type is not set

Created on 7 August 2023, over 1 year ago
Updated 13 February 2024, 9 months ago

Problem/Motivation

Warning: Undefined array key "#type" in better_search_preprocess_form_element() (line 110 of docroot/modules/contrib/better_search/better_search.module) when visiting some admin routes such as /admin/config/content/charts

Steps to reproduce

Have Charts module installed, visit /admin/config/content/charts

Proposed resolution

Check #type is set before seeing if its == 'search'

Remaining tasks

User interface changes

API changes

Data model changes

🐛 Bug report
Status

Fixed

Version

1.6

Component

Code

Created by

🇺🇸United States NicholasS

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