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

Invalid get_string() identifier: 'nosemicolon' or component 'report_customsql' #226

Open
michael-milette opened this issue Dec 3, 2022 · 0 comments

Comments

@michael-milette
Copy link
Contributor

michael-milette commented Dec 3, 2022

The error below appears when saving an SQL query. This is only visible when all of the following are true:

  • Debug is set to Developer mode.
  • If the report_customsql plugin is not also installed.
  • There is a semicolon in the SQL.

Invalid get_string() identifier: 'nosemicolon' or component 'report_customsql'. Perhaps you are missing $string['nosemicolon'] = ''; in /lang/en/report_customsql.php?

  • line 353 of /lib/classes/string_manager_standard.php: call to debugging()
  • line 7364 of /lib/moodlelib.php: call to core_string_manager_standard->get_string()
  • line 105 of /blocks/configurable_reports/components/customsql/form.php: call to get_string()
  • line 84 of /blocks/configurable_reports/components/customsql/form.php: call to customsql_form->validation_high_security()
  • line 653 of /lib/formslib.php: call to customsql_form->validation()
  • line 589 of /lib/formslib.php: call to moodleform->validate_defined_fields()
  • line 699 of /lib/formslib.php: call to moodleform->is_validated()
  • line 101 of /blocks/configurable_reports/editcomp.php: call to moodleform->get_data()

Screenshot
image

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