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

PHP message: PHP Warning: rawurlencode() expects parameter 1 to be string, array given #367

Open
x-iy opened this issue Oct 2, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@x-iy
Copy link
Contributor

x-iy commented Oct 2, 2024

PHP warning created when accessing webservice eg.

/webservice/rest/server.php?wstoken=xxxxxxxxxxxxxx&wsfunction=core_course_get_courses&options[ids][0]=8804&moodlewsrestformat=json

PHP message: PHP Warning: rawurlencode() expects parameter 1 to be string, array given in /var/www/site/lib/weblib.php on line 522

Due to this line:
https://github.com/catalyst/moodle-tool_excimer/blob/MOODLE_35_STABLE/classes/script_metadata.php#L143

@x-iy x-iy added the bug Something isn't working label Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant