getObject() without criteria causes nesting level error for collection methods.
execution of php script stops with "nesting_level_error"..
in case of no cache files created for db objects of 'someClassKey':
->getObject('someClassKey'); and ->getCollection('someClassKey') (or ->getMany('someAliasOfClassKey')) after that
shoots to cache file with same md5 prefix, but collection methods need different nesting of arrays inside cache files. This causes wrong recursion and nesting level error when collection loads from cache. So, ->getObject() without unique criteria is bad practice for current xPDO caching principle of version that I use (MODX Revolution 2.3.3-pl (traditional)).
expected single instance of 'someClass' object and collection array of 'someClass' objects in results.
MODX version MODX Revolution 2.3.3-pl (traditional)