MZ i keep getting argument must be a rectangle

hi it's me again i keep getting Argument is a rectangle when I try to click on my quest command in my menu. Here is the console log thank you for your help and have a nice day
Spoiler: console log
1649543342925.png
you have a configuration problem somewhere

all buttons should be rectangular pictures, and somehow that is not correctly identified in the game.

where that problem comes from is difficult to tell without more info - at minimum we would need screenshots of the plugin manager and screenshots of how that quest command is configured (code or options or whatever).
Spoiler: Screenshots
1649543770226.png

1649543791930.png

1649543809457.png

1649543831049.png
@Andar I hope these help, one looks the same but i've highlighted the script call
Hi there!
That error is triggered because a Window is being created, and it is not being passed a rectangle as an argument to create the window.
The rectangle has four properties that will determine the size and position of the window:
x, y, width, and height.

If you have any parameter on the plugin that let you insert javascript, please post a screenshot of it.
Otherwise, it can be something inside the plugin code.
My guess is that the problem lies in the GS_Quest System. If that plugin is free, post a link for it.
If not, go to line 1011 and tell us/screenshot what is being written there.

I also saw Visustella errors. I know they have a lot of parameters that accept javascript. So maybe one of them is supposed to return a rectangle and it is not.
it's for MV so i'm trying to get another one that works with fossil but now fossil won't work it's saying it needs to be first and it is first
it's for MV so i'm trying to get another one that works with fossil but now fossil won't work it's saying it needs to be first and it is first
That's the reason. MV created windows using separate x, y, width and height arguments, so if you load an MV plugin that creates a window into MZ it crashes because MZ wanted a Rectangle. It's possible Fossil hasn't been updated to support that particular plugin.
@Trihan I switched to one that was supported and fossil still isn't working even though it's the first plugin
Is it definitely enabled?
@Trihan yep it is is there still a pre code that needs to go before it?
I would attempt to find what you need specifically for MZ before fighting with Fossil. I actually have mixed feelings lately about whether I'll do anything in MZ that would truly need a plugin as the effort I expended on plugins in MV seemed to be one of those diminishing returns things. I'm beginning to think I'll relegate MZ to simple stuff and see what Unite is going to do for RPG Maker. Having RPG Maker running within Unity could be just the toy I'm looking for.

Meanwhile I'm wondering if it could be as simple as another plugin interfering. Have you tried disabling everything but the bare minimum to get that to run and see what happens????? I diagnosed some misunderstandings I had with some of Yanfly's stuff that way.
@zzmmorgan I have turned off all plugins and it's says the same thing

This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.

Original thread: https://forums.rpgmakerweb.com/threads/i-keep-getting-argument-must-be-a-rectangle.146605/