Trying to access array offset on value of type bool PluginBase.php:187

Created on 6 December 2023, 12 months ago

Problem/Motivation

After using this modules alpha3 version with Drupal 10 Core I get the following error on views using the search_api_location_views submodule: Trying to access array offset on value of type bool PluginBase.php:187
I found a core issue, which points out, that the array structure in defineOptions of a views plugin is not correct. I found out that the require option in SearchApiFilterLocation causes the problem.
https://www.drupal.org/project/drupal/issues/3340546 🐛 [warning] Trying to access array offset on value of type bool PluginBase.php:187 Needs work

Proposed resolution

Update array structure of "require" option in SearchApiFilterLocation->defineOption()

🐛 Bug report
Status

Closed: duplicate

Component

Code

Created by

🇩🇪Germany Duwid

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

Comments & Activities

Production build 0.71.5 2024