Trying to get property 'titulo' of non-object

Trying to get property 'titulo' of non-object