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

Error selecting the option Activity completed #40

Open
mrbelen opened this issue Nov 1, 2018 · 1 comment
Open

Error selecting the option Activity completed #40

mrbelen opened this issue Nov 1, 2018 · 1 comment

Comments

@mrbelen
Copy link

mrbelen commented Nov 1, 2018

This error occurs in lib.php line 757

                 'finished' => "SELECT id
                                      FROM {questionnaire_response}
                                     WHERE complete = 'y'
                                       AND username =: userid
                                       AND survey_id =: eventid ",
must be:

                 'finished' => "SELECT id
                                      FROM {questionnaire_response}
                                     WHERE complete = 'y'
                                       AND userid =: userid
                                       AND survey_id =: eventid ",

This is my first contribution to the community, so if I'm doing something wrong, I appreciate indicating the correct steps.

thanks greetings.

@avbarbosa
Copy link

This is an incompatibility with the version of mod_questionnaire you are using.
You can downgrade to a version of the date.

If you need that version (maybe because of the version of the Moodle your are using),
you need to use https://github.com/deraadt/moodle-block_completion_progress
Its current version is compatible with current versions of Moodle and mod_questionnare.

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

2 participants