Hello!

Is it possible to improve this error message? It is much more complicated
to identify when we have two occurrences on the same line.

For example:

$availMasterResults->get($availMaster->id . '@' . $sessionUser->id)
-> trying to get property 'id' of non-object

Is not possible to identify if it is related to $availMaster or
$sessionUser variables.

Suggestion:

-> trying to get property 'id' of non-object (null) from variable
$availMaster
-> trying to get property 'id' of non-object (int) retrieved from property
$some->property
-> trying to get property 'id' of non-object (array) retrieved from return
of getObject()


Atenciosamente,
David Rodrigues

Reply via email to