Google_Activity must be an instance of Google_ActivityObject
问题 I don't know what is the error of this. I might think as well is in the library of google PHP client can someone help with this. This is my code: $this->client->refreshToken($con[0]->secret); $newtoken = $this->client->getAccessToken(); $this->client->setAccessToken($newtoken); $activityAccess = new Google_Acl(); $activityAccess->setDomainRestricted(true); $object = new Google_ActivityObject(); $originalContent = $object->setOriginalContent('Happy me'); $originalContent = $object->setContent(