Trying to get property 'nombre' of non-object
Trying to get property 'nombre' of non-object