PHP decprecation causing module action to fail

Created on 10 May 2024, about 2 months ago
Updated 11 May 2024, about 2 months ago

Problem/Motivation

Having just updated to 2.2.0-beta1, when attempting to access a non-existent URL, I am seeing...

Deprecated function: explode(): Passing null to parameter #2 ($string) of type string is deprecated in Drupal\search404\Controller\Search404Controller->search404GetKeys() (line 484 of modules\contrib\search404\src\Controller\Search404Controller.php).

.. and the usual action 're-shaping' Search API with the search terms ...

/search/suggestions?search_api_fulltext=<some words extracted from the URL>

... is failing, leaving the URL (in the browser address bar) as...

/search/suggestions?search_api_fulltext=@keys

System

Drupal 10.2.5
Apache/2.4.33 (Win64) OpenSSL/1.0.2u mod_fcgid/2.3.9 PHP/8.2.2
PHP 8.1.15
MySQL 5.7.24
PHP Caching module: OpCache

πŸ› Bug report
Status

Needs review

Version

2.2

Component

Miscellaneous

Created by

πŸ‡¬πŸ‡§United Kingdom SirClickALot Somerset

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

Merge Requests

Comments & Activities

Production build 0.69.0 2024