I notice that if you character gets taunted, the enemy can make you character cast skills that are not memorised.

It should maybe just stick to the skills that the character have memorised.

I also double checked if my character did have any scrolls in the inventory.