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_response_exception: Scalar type expected instead of object, for fileurl #235

Open
RuudvanReenen opened this issue Sep 30, 2024 · 0 comments

Comments

@RuudvanReenen
Copy link

RuudvanReenen commented Sep 30, 2024

An invalid_response_exception occurs when using Web Services with core_course_get_contents on a course that contains an activity with a Zip package. Using Moodle 4.0.12 with mod_tincanlaunch v1.63.

Invalid response value detected (fileurl => Invalid response value detected (Scalar type expected, array or object received.): Scalar type expected, array or object received.)

In lib.php, tincanlaunch_export_contents sets the fileurl to a moodle_url object instead of a string.

@RuudvanReenen RuudvanReenen changed the title invalid_response_exception: Scalar type expected instead of object, for fileurl Invalid_response_exception: Scalar type expected instead of object, for fileurl Sep 30, 2024
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