Problem/Motivation
When trying to access a Search API based Views page view with the search_api_fulltext URL arg populated, the following error is produced.
Warning: Trying to access array offset on value of type null in /var/www/html/drupal/web/modules/contrib/search_api_opensearch/src/SearchAPI/Query/SpellCheckResultParser.php on line 28
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | add-guarding-to-prevent-array-offset-error-3457786-1.patch | 709 bytes | lukus |
Issue fork search_api_opensearch-3457786
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 #2
lukusPatch included
Comment #5
kim.pepperMade the fix a bit simpler and added test coverage.
Comment #6
kim.pepperUpdated title and IS
Comment #7
acbramley commentedLooks good!
Comment #9
kim.pepperCommitted to 3.x and 2.x. Thanks!
Comment #10
kim.pepper