Error: json_decode(): Argument #1 ($json) must be of type string, stdClass given: Invalid author id provided.