Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing "allow_answer" on index.php Add/Remove Providers form #1

Open
brianlmerritt opened this issue Oct 16, 2024 · 1 comment
Open

Comments

@brianlmerritt
Copy link

Probably need to either include allowanswers to the form or remove the helpers.

Trying to add help buttons to non-existent form elements : allowanswer

line 2390 of /lib/formslib.php: call to debugging()
line 75 of /local/ai/classes/form/openaiapiprovider.php: call to MoodleQuickForm->addHelpButton()
line 217 of /lib/formslib.php: call to local_ai\form\openaiapiprovider->definition()
line 110 of /lib/classes/form/persistent.php: call to moodleform->__construct()
line 21 of /local/ai/classes/form/openaiapiprovider.php: call to core\form\persistent->__construct()
line 55 of /local/ai/index.php: call to local_ai\form\openaiapiprovider->__construct()

Trying to add help buttons to non-existent form elements : allowanswer

line 2390 of /lib/formslib.php: call to debugging()
line 78 of /local/ai/classes/form/openaiapiprovider.php: call to MoodleQuickForm->addHelpButton()
line 217 of /lib/formslib.php: call to local_ai\form\openaiapiprovider->definition()
line 110 of /lib/classes/form/persistent.php: call to moodleform->__construct()
line 21 of /local/ai/classes/form/openaiapiprovider.php: call to core\form\persistent->__construct()
line 55 of /local/ai/index.php: call to local_ai\form\openaiapiprovider->__construct()
@brianlmerritt
Copy link
Author

Also I think there are a few 'ai' rather than 'local_ai' string issues on index.php

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant