AmazonS3::list_objects sometimes returns a CFResponse object where the body property is a string instead of a CFSimpleXML object, which causes a fatal error ("Call to a member function query() on a non-object") in get_object_list. The documentation for RequestCore does specify that body can be an XML object or a string.
I have added this fix in version 1.6.1 of the SDK. Since we do not accept pull requests directly to this project, I have added you to the contributors document. Thanks!
AmazonS3::list_objects sometimes returns a CFResponse object where the body property is a string instead of a CFSimpleXML object, which causes a fatal error ("Call to a member function query() on a non-object") in get_object_list. The documentation for RequestCore does specify that body can be an XML object or a string.