You probably have the script bro, well is not the script that spells call a function directly but if you check your data/spells/spells.xml it is probably there (check for id=2290), what happens is that probably you are trying to convince a creature that is not convinceable, go to the monster file and change <flag convinceable="0"/> and set it to "1".