Ok, so went to refit a ship. I did not change the class name, simply unlocked it, made the change, then took the sole ship to yard and tried to refit. Had blank boxes. Tried an overhaul, still didn't work. Ended up somehow with Zero slips available. Getting the following errors:
Function #2097: Attempted to divide by zero
Function #2185: Attempted to divide by zero