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
Issue fork drupal-3557528
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #3
alexpottComment #4
smustgrave commentedRan locally on 8.5.0RC3
Without the MR SearchConfigSettingsFormTest::testMultipleSearchPages I actually get an error
Exception: Deprecated function: Using null as an array offset is deprecated, use an empty string instead
Drupal\search\SearchPageRepository->getDefaultSearchPage()() (Line: 80)
With the MR seems to pass.
Comment #5
catchCommitted/pushed to 11.x and cherry-picked to 11.3.x, thanks!