Statistics on App and Site "Error: "NaN number in JSON write"


(knewc77) #1


As you see in the screenshot, I get this when I try to view statistics in the app. Also, if I open the gymhero.me dashboard website the volume and other things only list ‘NaN’. However, the Fitty.co website shows all my recent workouts and statistics.


(Jannis Hermanns) #2

Uff, that’s odd, sorry about that. Does this happen since you added the last workout? If so, could you share the url of that workout privately with me so I can have a look if something in that workout’s data is mixed up, causing that NaN error (this stands for “not a number”)?


(knewc77) #3

I actually had a line in one of my workouts where I forgot the rep #, and that made the NaN error be displayed.
Weird! The line looked like the image attached,

That resolved all the issues. So weird! Don’t leave a line blank! :grin:


(Jannis Hermanns) #4

Wow, we really have to fix this, thanks for finding that bug! As a thank you, we’d like to give you a promo code for Gym Hero Pro, for you and a friend. DM me if you want it (Apple invalidates them unless they’re redeemed within the first two weeks, unfortunately)