error:500

Trying to get property 'picture' of non-object