Closed nyusternie closed 12 years ago
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??
I can confirm this bug.
This has been corrected.
Thanks!
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??