Szyu's Item's Class Restriction crash every time a certain skill is used (not item)

If there is another script that is conflicting, I have a hunch on which it may be.

the Kblockstates by @kyonides that I have. I have had so many compatibility issues with other scripts faulting on Kblockstates. There are about three scripts I wish I could use that I cannot due to conflict. I can only use maybe 40% of Yanfly Target Manager's features as a result, most of which I can only assign to enemies.

But Kblockstates is heavily integrated into my game, so removing it will completely change the game.

Not saying Kblockstates is the cause, it just a hunch based on my history with it.
Well, try removing it and see if you can make Target Manager do its targeting job. I can't promise that both scripts will be compatible for I dunno what you're trying to accomplish with it. Besides, you had implemented a custom mod for KBlockStates made by another forumer that might be breaking it.
Well not technically true.
The first was

and now you have


So a question comes to mind.
What version of the script are you using?
In the page you linked to where you got the script I made a post with changes to fix issues people were having.
Perhaps you can try that.

A follow up. So far with the fix linked in that post, I have not had any crashes using the items and skills that previously caused crashes. I did add $data_skills to it.

Original thread: https://forums.rpgmakerweb.com/threads/szyus-items-class-restriction-crash-every-time-a-certain-skill-is-used-not-item.163193/