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

Trying to get property of non-object #16

Closed
GoogleCodeExporter opened this issue Mar 25, 2015 · 1 comment
Closed

Trying to get property of non-object #16

GoogleCodeExporter opened this issue Mar 25, 2015 · 1 comment

Comments

@GoogleCodeExporter
Copy link

What steps will reproduce the problem?
1. Set return_as_array to true
2. Enable error reporting

What is the expected output? What do you see instead?
I get the error:

Notice: Trying to get property of non-object

I would expect to get no errors at all.


What version of the product are you using?
Version 0.3


Please provide any additional information below.

On line 605 you find:

    $this->rpc_version = self::sget()->arguments->rpc_version;

Replace that with:

    if ($this->return_as_array) {
        $this->rpc_version = $data['arguments']['rpc-version'];
    } else {
        $this->rpc_version = $data->arguments->rpc_version;
    }


Original issue reported on code.google.com by mariusva...@gmail.com on 23 Jun 2012 at 7:15

@GoogleCodeExporter
Copy link
Author

This Google Code project is closed. Any development has been moved to GitHub, 
as noted on the main page.

Original comment by brycied...@gmail.com on 23 Jun 2012 at 8:04

  • Changed state: Invalid
  • Added labels: ****
  • Removed labels: ****

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant