array index threw unexpected error when tacked onto function call

array index 'uuid' on the end of the class function call resulted in PHP error, so I moved to the next instance of $identifier