- Issue created by @sijumpk
- ๐ฉ๐ชGermany a.dmitriiev
a.dmitriiev โ made their first commit to this issueโs fork.
- ๐ฉ๐ชGermany a.dmitriiev
The file is not needed in the repo anymore for version 1.2.x and higher. It was removed
In the 1.2.x
branch of the AI module, the class Drupal\ai_content_suggestions\Hook\AiContentSuggestions
appears to have been removed as part of the changes introduced in
#3528684
โจ
Add processor and field widget assist plugin system to AI Content Suggestions
Active
. However, the corresponding file
modules/contrib/ai/modules/ai_content_suggestions/src/Hook/AiContentSuggestions.php
still exists as an empty file. Noticed this while running a functional test.
This results in a fatal error during test runs:
RuntimeException: The autoloader expected class "Drupal\ai_content_suggestions\Hook\AiContentSuggestions" to be defined in file "/var/www/html/web/modules/contrib/ai/modules/ai_content_suggestions/src/Hook/AiContentSuggestions.php". The file was found but the class was not in it, the class name or namespace probably has a typo.
The class is still present in the 1.1.x
branch, so this seems to be either an accidental deletion.
AiContentSuggestions.php
if it is no longer needed and ensure all references to the class are removed.Active
1.2
AI Content Suggestions
a.dmitriiev โ made their first commit to this issueโs fork.
The file is not needed in the repo anymore for version 1.2.x and higher. It was removed