Attempt to assign property "slug" on bool