'ERROR : Object not a collection - [line 1]
The return value may be an empty collection that is invalid. You may also be incorrectly assuming that the returned item is a collection, not an object.
You can test for invalid collections: see Empty Collections. For more information about empty collections, see Empty Collections.
Except where otherwise noted, this work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 3.0 Unported License