Error 500

Trying to get property 'strankaId' of non-object