Error 500

Trying to get property 'DOB' of non-object