I'm not sure how it occurs but it has happened multiple times where it says I'm on ancient spellbook but when I try to cast my character just goes to melee the npc and when I click autocast it tries to enchant bolts. Logging out and back in fixes it but kind of annoying at times especially when in a solo raid and don't notice until at olm and have to wipe.