[RMMV] Learning skills through item use not working.

I've made a consumable item in which using it teaches a character to use a certain skill. However, when I test it in game, I get the error buzzer and it doesn't work. I've even checked that the skill type of the skill (magic) matches the skill type the character can use. I'm at a complete loss. Any help would be appreciated.
What does your item/event look like? Can you post a screenie of it?

Edit: Have you tried connecting the item to a common event that teaches the actor the skill? This method worked for me when i tried it

Original thread: https://forums.rpgmakerweb.com/threads/rmmv-learning-skills-through-item-use-not-working.115166/