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

Problem with pulling data #14

Closed
NathanGeerinck opened this issue Jun 3, 2017 · 1 comment
Closed

Problem with pulling data #14

NathanGeerinck opened this issue Jun 3, 2017 · 1 comment

Comments

@NathanGeerinck
Copy link

Hi,

When I am trying to call the index function I've got this error returned:

FatalThrowableError in GuzzleHttpAdapter.php line 133:
Call to a member function getBody() on null

My functions:

public function __construct(DigitalOceanManager $digitalocean)
{
  $this->digitalocean = $digitalocean;
}

public function index()
{
  dd($this->digitalocean->droplet()->getAll());
}

Can someone help me please?

@NathanGeerinck
Copy link
Author

I've used another guzzle driver and that fixed the problem.

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