Skip to content

Encountere a error during handling Response in PHP #106

Open
@ppprakhar

Description

A PHP Error was encountered
Severity: 4096

Message: Object of class stdClass could not be converted to string

Filename: API/RequestException.php

Line Number: 19

Response Object is below -

object(stdClass)#61 (2) { ["meta"]=> object(stdClass)#62 (2) { ["status"]=> int(400) ["msg"]=> string(11) "Bad Request" } ["response"]=> object(stdClass)#54 (1) { ["errors"]=> array(1) { [0]=> object(stdClass)#60 (2) { ["code"]=> int(8001) ["message"]=> string(21) "Post cannot be empty." } } } }

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions