Closed (fixed)
Project:
HPCloud
Version:
7.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
14 Aug 2012 at 11:07 UTC
Updated:
30 Aug 2013 at 18:51 UTC
PHP Fatal error: Call to a member function containers() on a non-object in /var/www/sites/all/modules/hpcloud/hpcloud.module on line 420
/**
* Get a list of all containers.
*
* @return array
* An associative array of container info.
*/
function _hpcloud_list_containers() {
$store = _hpcloud_object_storage();
return $store->containers();
}
_hpcloud_object_storage(); must not be returning an object.
Comments
Comment #1
timmillwoodIt looks as though this happens if an HP Cloud Object Storage is not provisioned. The page works and there is no error once the storage has been provisioned.
Comment #2
mfer commented@tim So you got this error before you activated the service?
We can update to account for this case.
Comment #3
timmillwoodthat's correct, I guess it just needs to do a check for object storage on the account before loading the page.
Comment #4
mfer commentedThis is fixed in d72d8e8