- Issue created by @RobLoach
- Merge request !624Issue #3525540: Add fallback for when there isn't a resolveRootDataType() type โ (Open) created by RobLoach
- ๐จ๐ฆCanada RobLoach Earth
MR over at https://git.drupalcode.org/project/ai/-/merge_requests/624
May not be the best solution around it though. Perhaps we have it return the same `$type` instead of an empty string?
- ๐ฉ๐ชGermany marcus_johansson
I have tried to replicate this with Drupal10.3 and Drupal 10.4 without success - any other modules that might be installed that installs some extra action plugins? I tried ECA.
- ๐ฉ๐ชGermany marcus_johansson
Adding the module list here, for anyone also trying to repliace it - all 1.1.x and Drupal 10.4:
- Drupal AI
- AI Search
- Key
- Search API
- Open AI Provider
- Milvus VDB Provider
- AI Assistant API
- AI Agents
- AI Chatbot
- ๐ฎ๐ณIndia Ishani Patel
Hello,
I've also tried with D10.4 and 1.1.x of AI and sub modules, but no luck. - ๐ช๐ธSpain gxleano Cรกceres
Testing in a clean installation with Drupal
10.4.7
and1.1.x
AI stack and everything works fine.Seems like some module from the other installation is interfering on this.
Closing the issue.
- ๐บ๐ธUnited States j-barnes
We are currently experiencing the same issue on 10.4.7 with ai / ai_agent on latest dev release. It looks like it's caused by the node_unpublish_by_keyword_action and returned no attributes. Adding the above seems to have cured our problem.
- ๐จ๐ฆCanada RobLoach Earth
Confirmed it's something with the
action
module. Try this...drush pm:install action drush cr
Visit
/admin/structure/ai-agent/add
You get the white screen:
The website encountered an unexpected error. Try again later.
Error: Call to a member function newInstance() on null in Drupal\ai\Plugin\AiFunctionCall\Derivative\ActionPluginDeriver->resolveRootDataType() (line 183 of modules/contrib/ai/src/Plugin/AiFunctionCall/Derivative/ActionPluginDeriver.php).