TypeError: Cannot read property 'getValue' of undefined

HoorEnglish

Warper
Member
Joined
Sep 10, 2021
Messages
3
Reaction score
0
First Language
English
Primarily Uses
RMMZ
I've been using HimeWorks's Grid Battle System and I think (and hope) that I've done everything right. Things work fine until I get into the battle area. When I click the attack button, I get the error: "Cannot read property 'getValue' of undefined." Is there a problem within my coding that I might need to fix? Or perhaps some spaghetti code somewhere that might need some handling?
 

vietanhdang2017

Veteran
Veteran
Joined
Sep 16, 2021
Messages
31
Reaction score
14
First Language
English
Primarily Uses
RMMV
Yes, of course something need to be fixed. But no one can help you anything until you show us the code itself
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
33,953
Reaction score
8,615
First Language
German
Primarily Uses
RMMV
The problem is not the getvalue, the problem is the undefined.
the engine has been given a reference to a data object that does not exist.

so you need to find that reference and either restore the missing data object, or remove the reference and replace it with something that exists.

possible causes:
1) you loaded an old (and now incompatible) savefile after deleting something in the database
-> delete the savegames and start new playtests
2) a plugin is configured with a reference that does not exist
-> go through all plugins and all configuration options to find the wrong entry
3) you deleted a database object that is still referenced somewhere else in the database
-> correct your database references
4) conflict between two plugins blocking each others data
->reorder or remove the conflicting plugin

If you want help to find the exact cause, you have to give a screenshot of the console with the full error trace (press F8 on error message), and a screenshot of your plugin manager with all plugins and their order.
 

ST0RMTiger

Veteran
Veteran
Joined
Sep 17, 2021
Messages
38
Reaction score
31
First Language
German
Primarily Uses
RMMZ
@Andar gave you a quite exact answer but maybe you are not that familiar with coding. So I searched the plugin itself and found a quite good reference of himeworks itself.

As the plugin needs a lot of configuration by you that seems not to be set as standard by the plugin, I assume that you skipped some parts of config. If the plugin has no extensive error handling (which is obviously the case) this might be the source of your problem.

So try to read through the reference and try to set up every single parameter first before you try to start a battle. Something is missing and this is most likely a missing set up parameter.

As @vietanhdang2017 said, you would have to go into a lot more detail to help you with that more precisely.
 

Latest Threads

Latest Posts

Latest Profile Posts

My home state baseball team is going back to the World Series for the first time since 1999. I remember when they went in 1995 and won, that was like the best day of my life. (I'm a huge baseball fan and yes I'm talking about the Braves).
FL Studio is a huge step up from LMMS but I'm having such a tough time with it D:<
The new Dune movie reminds me of the game Dune 2 made by Westwood. A quality product on its own, but extremely disloyal to its source of inspiration.
Terrible Writing Advice, you've done it again.
1635026211997.png

Forum statistics

Threads
116,041
Messages
1,095,229
Members
151,386
Latest member
sheyzo
Top