Notice: Trying to access array offset on value of type bool in custom_search_theme() (line 705 of /code/sites/all/modules/custom_search/custom_search.module).

Created on 17 December 2021, about 3 years ago
Updated 28 February 2023, almost 2 years ago

Problem/Motivation

When upgrading to PHP 7.4, the Custom Search module throws a notice on /update.php:
Notice: Trying to access array offset on value of type bool in custom_search_theme() (line 705 of /code/sites/all/modules/custom_search/custom_search.module).

Proposed resolution

Attached patch resolves notice.

🐛 Bug report
Status

RTBC

Version

1.20

Component

Code

Created by

🇺🇸United States robert dearmond

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

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