Errors when successfully generating taxonomy terms

Created on 21 November 2024, 10 months ago

I am using the AI module to automatically generate taxonomy terms when a node is created. This working very well, and providing usable terms on a field in the node using the automater options. However I am experiencing 2 repeating errors every time that the system creates a new taxonomy term and adds it to the field on the node.

The operation ends up being successful in most cases, and a new taxonomy term is added to the field based on the prompt. I am also unable to get more than one term added to the node. The errors received are:

--------------------------------
Warning: Attempt to read property "value" on null in Drupal\ai_automators\PluginBaseClasses\Taxonomy->getTaxonomyList() (line 326 of modules/contrib/ai/modules/ai_automators/src/PluginBaseClasses/Taxonomy.php).
--------------------------------
Warning: Undefined property: stdClass::$description in Drupal\ai_automators\PluginBaseClasses\Taxonomy->getTaxonomyList() (line 326 of modules/contrib/ai/modules/ai_automators/src/PluginBaseClasses/Taxonomy.php).
--------------------------------

These errors are repeated about 10-20 times when a node is created. The amount of errors varies, but 2 errors are always produced as shown above.

Thanks for your help resolving this issue.

🐛 Bug report
Status

Active

Version

1.0

Component

AI Automators

Created by

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

Merge Requests

Comments & Activities

Production build 0.71.5 2024