WIP
silences "undefined property" error as there is no good way in PHP to check for magic properties and the error_log was a bit too verbose