Error thrown

Attempt to assign property "ERROR" on bool