Why is the box red? I can't level my clerics and all I get is a red box and an exclamation No explanation, no instructions. How about a message or something?
It's expecting you to prepare 17 spells; it shouldn't be expecting that at any point currently reachable in game. If you're using mods, it's likely that they are responsible for your difficulty.