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

Client.php #1

Closed
nyusternie opened this issue May 11, 2012 · 2 comments
Closed

Client.php #1

nyusternie opened this issue May 11, 2012 · 2 comments

Comments

@nyusternie
Copy link

I am currently implementing the PHP code for the Object Storage system.

Everything seems to be working fine, however, I'm receiving an error about an "Undefined variable".

Notice: Undefined variable: host in /lib/ObjectStorage/Http/Client.php on line 45

Notice: Undefined variable: host in /lib/ObjectStorage/Http/Client.php on line 54

Notice: Undefined variable: host in /lib/ObjectStorage/Http/Client.php on line 62

Notice: Undefined variable: host in /lib/ObjectStorage/Http/Client.php on line 66

The variable in question is:
self::$client[$host]

The $host key is not defined anywhere in this class. I was able to correct the problem by changing $host from a variable into a string "host".

Is this correct??

@ghost
Copy link

ghost commented May 11, 2012

I can confirm this bug.

@its-clee
Copy link
Contributor

This has been corrected.

Thanks!

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

2 participants