"Trying to get property 'attributeValues' of non-object"