Fixed the s/\<s\>/o/g mistake.
Got rid of require('../bootstrap.php');
Added comment explaining $_possibleInvalidCollectionMessage.