Call to undefined method getConnection()

Created on 31 January 2023, almost 2 years ago
Updated 14 June 2023, over 1 year ago

Problem/Motivation

generated a view page with an indexed body and title and an exposed filter, then used the combine fields filter to pick the two fields together and saved the view, then opened the page for the view page to crash with

Message Error: Call to undefined method Drupal\search_api\Plugin\views\query\SearchApiQuery::getConnection() in Drupal\views\Plugin\views\filter\BooleanOperator->queryOpBoolean() (line 256 of /var/www/html/docroot/core/modules/views/src/Plugin/views/filter/BooleanOperator.php)

Steps to reproduce

  • search_api is installed
  • created view page using indexed body and title and exposed filter
🐛 Bug report
Status

Needs work

Version

9.5

Component
Views 

Last updated about 2 hours ago

Created by

🇧🇪Belgium ScriptCircle

Live updates comments and jobs are added and updated live.
  • Needs screenshots

    The change alters the user interface, so before and after screenshots should be added to document the UI change. Make sure to capture the relevant region only. Use a tool such as Aviary on Windows or Skitch on Mac OS X.

Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024