Trying to get property 'locDivision' of non-object