Drupal\search\SearchPageRepository->getDefaultSearchPage()() (Line: 80) triggers deprecations in PHP 8.5

Created on 13 November 2025, 4 days ago

Problem/Motivation

Drupal\search\SearchPageRepository->getDefaultSearchPage()() (Line: 80) triggers deprecations because it uses NULL as an array key.

Steps to reproduce

Run \Drupal\Tests\search\Functional\SearchConfigSettingsFormTest::testMultipleSearchPages

Proposed resolution

Don't

Remaining tasks

User interface changes

None

Introduced terminology

N/a

API changes

None

Data model changes

None

Release notes snippet

N/a

πŸ“Œ Task
Status

Needs review

Version

11.0 πŸ”₯

Component

search.module

Created by

πŸ‡¬πŸ‡§United Kingdom alexpott πŸ‡ͺπŸ‡ΊπŸŒ

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.

No activities found.

Production build 0.71.5 2024