Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

Need help! some sort of type error?

Status
Not open for further replies.

Sonicboy95

Adventurer
I have been working in MV for a little bit now and just recently got this error every time I click playtest.

TypeError
Cannot read property 'ToLowerCase' of undefined

I have no idea what this means, could somebody please explain what this is?
I hope this isn't something simple, that would make me look like an idiot. I don't need this to make me look like an idiot when I can do that myself.

Thanks in advance!
 

LTN Games

Master Mind
Resource Team
Xy$
0.01
It's a plugin, could you take a picture of the console(error log) . It will help to see what plugin is causing the issue.
 
toLowerCase is a function method and it's probably not used properly somewhere. It should be toLowerCase() (with both parenthesis). Or it could be that an undefined variable is trying to convert to lower case before outputting as a string.
 

Sonicboy95

Adventurer
After reading LTN games post, I figured out the answer and that made me realize how dumb I can be like reading death note for the first time. If only I could be like light yagami..........without becoming an insane cold hearted killer of course.
 
If it's any consolation, I kept getting an "Invalid token" error in the console log. Come to find out it was missing a right parenthesis, but for the life of me I couldn't see it. Blaming it on being tired! (ignored)
 

LTN Games

Master Mind
Resource Team
Xy$
0.01
I'm glad you got everything working now.

I'm closing this thread due to being addressed and solved, if for any reason you want it re-opened please report the post or contact a moderator.
 
Status
Not open for further replies.
Top