Crashing after deleting/changing type of a variable, when compiling

First time I’m using a map variable, could be related to it being a map. Also, when I reorder variables above it, it crashes when compiling