Skip to content
Advertisement

Tag: google-classroom

Google Classroom – Create Course Error PHP

I’m trying to create a course using the Google_Service_Classroom API, using PHP, but I get an error in the call. My return: I’m seeing the documents, but I don’t see where to fix this problem. Answer The error message is self-explanatory. It says Argument 1 passed to Google_Service_Classroom_Resource_Courses::create() must be an instance of Google_Service_Classroom_Course, array given and this occurs because

Advertisement