Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.
Please read the rules before requesting support. I will return and help you once you've done that, if you post again in the thread you made on RPG Palace saying that you've fixed it.
It looks to me like your scripts aren't in the right order. The one which is causing the error needs to be below the SDK or else it won't work.