I am developing a custom question for Moodle to evaulate the spreadsheet and formulas within them. The plugin installs correctly but and goes as far being able to add this custom question to the quiz. When I fill in the details on the form and click save changes on form a error message pops up saying : Cannotenable.
The stack trace is line 494 of lib\setup.php: moodle_exception thrown.
I tried changing the permissions allowed for different users in trying to fix the issue but that has not fixed it. Are there any suggestions on how to fix this error?