Error from making a array variable

For some reason I run this script i get an error, anyone know why? (The game continues just fine though, no black screen or crash or anything, a new window just pops up)

1663521174766.png


1663520906673.png
First thing, please show the entire event and not only the script line.
the error is an indirect error from the event copier plugin, so it might not come up in direct use but when the event using that line gets copied.

Second, please handle the other error messages as well - it seems as if you added several plugins without configuring them, and that is always a bad idea.

third, please post screenshots of your plugin manager. whenever yanfly's plugins behave strangely or cause strange errors, that often is caused by them being in the wrong order. we need to check for errors there.
So, I disabled event copier but then, the error started talking about auto passive states, and now it is talking about buffstatescore

1663525325487.png
1663525442729.png

Full plugin list
1663525649067.png
1663525663187.png
1663525685274.png
1663525697774.png
as I guessed - your yanfly plugins are in the wrong order.

please reorder them into exactly the order they have in yanfly's main list, and then delete your then incompatible savefiles and start new playtests.

if the errors are still there after reordering, please post console screenshots again.
Still doesnt work, the error is different looking though
1663534562340.png


EDIT: Nvm, it was just some dumbass code i forgot to delete

Original thread: https://forums.rpgmakerweb.com/threads/error-from-making-a-array-variable.151374/