I tried using the turn button, but that did nothing anymore.
I saved and reloaded the game (without fully exiting to desktop) and I could attack units again, though any stack I had attempted to attack before the save were simply untouchable, though I was able to attack them using a strategic spell. Other stacks could be attacked normally. After a few more turns the problems returned.