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

PHP Notice when calling get_user #2

Open
mukeshgami opened this issue Nov 27, 2019 · 0 comments
Open

PHP Notice when calling get_user #2

mukeshgami opened this issue Nov 27, 2019 · 0 comments

Comments

@mukeshgami
Copy link

When try to get user object by calling get_user('_id') it throws PHP Notice below

PHP Notice: Undefined property: stdClass::$http_code in .../SynapsePHP-master/synapse_rest/HttpClient.php on line 19

Notice: Undefined property: stdClass::$http_code in .../SynapsePHP-master/synapse_rest/HttpClient.php on line 19
PHP Notice: Undefined property: stdClass::$http_code in .../SynapsePHP-master/synapse_rest/client.php on line 92

Notice: Undefined property: stdClass::$http_code in /Users/mukeshgami/Development/PHP/SynapsePHP-master/synapse_rest/client.php on line 92
PHP Notice: Undefined property: stdClass::$error in .../SynapsePHP-master/synapse_rest/client.php on line 92

Notice: Undefined property: stdClass::$error in /Users/mukeshgami/Development/PHP/SynapsePHP-master/synapse_rest/client.php on line 92
PHP Notice: Trying to get property 'en' of non-object in .../SynapsePHP-master/synapse_rest/client.php on line 92

Notice: Trying to get property 'en' of non-object in /Users/mukeshgami/Development/PHP/SynapsePHP-master/synapse_rest/client.php on line 92
PHP Notice: Undefined property: stdClass::$error_code in .../SynapsePHP-master/synapse_rest/client.php on line 92

Notice: Undefined property: stdClass::$error_code in /Users/mukeshgami/Development/PHP/SynapsePHP-master/synapse_rest/client.php on line 92
PHP Notice: Undefined property: stdClass::$http_code in .../SynapsePHP-master/synapse_rest/HttpClient.php on line 19

Notice: Undefined property: stdClass::$http_code in .../SynapsePHP-master/synapse_rest/HttpClient.php on line 19
PHP Notice: Trying to get property 'http_code' of non-object in .../SynapsePHP-master/synapse_rest/HttpClient.php on line 77

Notice: Trying to get property 'http_code' of non-object in .../SynapsePHP-master/synapse_rest/HttpClient.php on line 77
PHP Notice: Trying to get property 'oauth_key' of non-object in .../SynapsePHP-master/synapse_rest/client.php on line 71

Notice: Trying to get property 'oauth_key' of non-object in .../SynapsePHP-master/synapse_rest/client.php on line 71

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