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).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | autotagger-3424520.patch | 1.07 KB | abhishek_gupta1 |
Comments
Comment #2
abhishek_gupta1 commentedComment #3
abhishek_gupta1 commented@brooke_heaton , i have fixed the issue and crated patch.
Comment #4
brooke_heaton commentedCan we use MRs going forward?
Comment #5
alvar0hurtad0I think this patch applies in an old version of the module before the stable release.
Could you check if the error still exists with current release?
I could not reproduce.
Comment #6
alvar0hurtad0