-
Bug
-
Resolution: Unresolved
-
Minor
-
None
-
5.0
When all AI provider plugins have been uninstalled, the "Create a new provider instance" is still displayed and can be interacted with. The "Create a new provider instance" form comes up with an empty Choose AI provider plugin" which then results in a coding error after filling out the form and saving it.
Coding error detected, it must be fixed by a programmer: Provider class not valid: \provider |
Debug info: |
Error code: codingerrorDismiss this notification |
Stack trace: |
line 380 of /ai/classes/manager.php: core\exception\coding_exception thrown |
line 107 of /ai/configure.php: call to core_ai\manager->create_provider_instance() |
When there are no provider plugins installed the "create a new provider instance" button should not be rendered on the provider page. Also the configure.php page that displays the form should display an error if no plugins are installed (in case someone deeplinks to it).