Argument #1 ($entity) must be of type Drupal\autotagger_search_in_text\Plugin\Autotagger\ContentEntityInterface

Created on 29 February 2024, 4 months ago
Updated 12 March 2024, 4 months ago

I am getting a fatal PHP error with a content type (node) set to scan for terms in a referenced entity.

TypeError: Drupal\autotagger_search_in_text\Plugin\Autotagger\SearchInTextFields::processReferencedEntity(): Argument #1 ($entity) must be of type Drupal\autotagger_search_in_text\Plugin\Autotagger\ContentEntityInterface, Drupal\node\Entity\Node given, called in /app/web/modules/contrib/autotagger/modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php on line 257 in Drupal\autotagger_search_in_text\Plugin\Autotagger\SearchInTextFields->processReferencedEntity() (line 351 of modules/contrib/autotagger/modules/autotagger_search_in_text/src/Plugin/Autotagger/SearchInTextFields.php).

🐛 Bug report
Status

Closed: cannot reproduce

Version

1.0

Component

Code

Created by

🇺🇸United States brooke_heaton

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

Comments & Activities

Production build 0.69.0 2024