Skip to content

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

@x-iy

Description

@x-iy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions