Php Cannot Use Object Of Type As Tympanogram