Failed to execute 'getImageData' on 'CanvasRenderingContext2D'

Hey, I am receiving the message; Failed to execute 'getImageData' on 'CanvasRenderingContext2D'; float parameter 1 is non-finite, when I open my rpg maker with only the Yanfly Core Engine plugin in my game. Any help?
That usually means one of two things:

1: You put the core engine into a project not on project version 1.6.1. Not the editor, the project. The core files must be version 1.6.1 also.

2: You loaded a save game from before the plug-in was added.

I've moved this thread to Plug-In Support. Thank you.

Or a wrong skill formula sometime cause this too, you should have a check on them

Original thread: https://forums.rpgmakerweb.com/threads/failed-to-execute-getimagedata-on-canvasrenderingcontext2d.104221/