Forum BigDB little error over here (need help)

Discussion and help relating to the PlayerIO database solution, BigDB.

little error over here (need help)

Postby stephendeveloper » January 9th, 2015, 2:06 am


Im trying to save the user but then its not working
Posts: 9
Joined: October 26th, 2014, 2:04 am

Re: little error over here (need help)

Postby unboundedgames » February 18th, 2015, 4:49 pm

Keep in mind I've been awake for 40+ hours..
but I do have a feint memory of encountering this in the past, and I'm pretty sure it's a scope issue.
Try simply removing 'this.' , and if instead you're absolutely sure the scope is correct an infinitely powerful workaround for this error and many others is to use (sparingly) dynamic access this["objectName"].property , or this["object"+i]["nestedObject"] to access object1.nestedObject, object2.nestedObject etc.

Hmm, also make a backup first because now you're playing with fire :twisted:
Paid Member
Posts: 48
Joined: February 17th, 2013, 11:40 pm

Return to BigDB