PHP decprecation causing module action to fail

Created on 10 May 2024, 11 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

πŸ› Bug report
Status

Active

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.71.5 2024