Error:

ResponseText: The website encountered an unexpected error. Try again later.  
Error: Call to undefined method Drupal\search_api\Processor\ProcessorProperty::getFieldDefinition() in ai_vdb_provider_qdrant_is_field_multiple() (line 54 of modules/contrib/ai_vdb_provider_qdrant/ai_vdb_provider_qdrant.module).

What is the problem?
The function ai_vdb_provider_qdrant_is_field_multiple() assumes that all Search API fields are backed by a FieldDefinitionInterface. However, Search API fields can also be processor properties, which only implement DataDefinitionInterface. The DataDefinitionInterface does not provide a getFieldDefinition() method, which causes the fatal error.

Command icon 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:

  • 1.0.x Comparecompare
  • 3563144-error-call-to Comparecompare

Comments

siva01 created an issue. See original summary.

stmh’s picture

Status: Active » Needs review

I pushed a fix to 1.0.x branch -- please test on your end.

siva01’s picture

The latest development version no longer has this error. It has been fixed.

stmh’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.