PHP 8.2 TypeError: explode(): Argument #2 ($string) must be of type string, null given in explode() (line 29 of search_api_pantheon/src/EventSubscriber/SearchApiPantheonSolrConfigFilesAlter.php).

Created on 24 June 2024, 6 months ago
Updated 30 July 2024, 5 months ago

Problem/Motivation

On PHP 8.2 I'm getting:

TypeError: explode(): Argument #2 ($string) must be of type string, null given in explode() (line 29 of search_api_pantheon/src/EventSubscriber/SearchApiPantheonSolrConfigFilesAlter.php).

This causes a WSOD on the Search API configuration page.

Steps to reproduce

Enable this module on PHP 8.2 and go to the search api configuration page.

Proposed resolution

Patch forthcoming.

πŸ› Bug report
Status

Needs review

Version

8.1

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States joelsteidl

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