"NaN" response when you +1 a post

Members can make suggestions for improving the site and improving the forum as well as submit bug reports to be reviewed by our support team here.
Post Reply
Message
Author
User avatar
Jamiet99uk
Posts: 29456
Joined: Sat Dec 30, 2017 11:42 pm
Location: Durham, UK
Karma: 18257
Contact:

"NaN" response when you +1 a post

#1 Post by Jamiet99uk » Thu Mar 01, 2018 8:30 pm

About half the time I click the "+" button to +1 a post, the system increases the number next to the + by a count of 1, as I assume it should.

About the other half of the time, it changes the number to read "NAN".

What is this? It must be a bug.
7

Mapu
Posts: 19
Joined: Sun Dec 31, 2017 3:29 pm
Karma: 14
Contact:

Re: "NaN" response when you +1 a post

#2 Post by Mapu » Thu Mar 01, 2018 8:48 pm

It's the new site sponsor selling Indian bread.
10

yavuzovic
Posts: 2912
Joined: Tue Oct 03, 2017 2:42 pm
Location: Istanbul
Karma: 570
Contact:

Re: "NaN" response when you +1 a post

#3 Post by yavuzovic » Thu Mar 01, 2018 8:55 pm

😂
Yes I wonder it too.
2

yavuzovic
Posts: 2912
Joined: Tue Oct 03, 2017 2:42 pm
Location: Istanbul
Karma: 570
Contact:

Re: "NaN" response when you +1 a post

#4 Post by yavuzovic » Thu Mar 01, 2018 9:04 pm

Mapu's post is NaN now.
Sorry Jamiet, you became +2.
2

Rjmcf
Code Contributor
Code Contributor
Posts: 147
Joined: Sun Dec 31, 2017 11:52 am
Karma: 26
Contact:

Re: "NaN" response when you +1 a post

#5 Post by Rjmcf » Fri Mar 02, 2018 7:56 am

If the post already has some +1s, I’ve only ever seen it increase to another number, never go to NaN. If it has no +1s, I’ve only ever seen it go to NaN, never to “1”. Have you seen different Jamiet?

User avatar
Jamiet99uk
Posts: 29456
Joined: Sat Dec 30, 2017 11:42 pm
Location: Durham, UK
Karma: 18257
Contact:

Re: "NaN" response when you +1 a post

#6 Post by Jamiet99uk » Sat Mar 03, 2018 8:52 pm

Ah actually it's just when it's the first click.

It's still a bug though.
1

Rjmcf
Code Contributor
Code Contributor
Posts: 147
Joined: Sun Dec 31, 2017 11:52 am
Karma: 26
Contact:

Re: "NaN" response when you +1 a post

#7 Post by Rjmcf » Sun Mar 04, 2018 9:56 am

Agreed.
1

Rjmcf
Code Contributor
Code Contributor
Posts: 147
Joined: Sun Dec 31, 2017 11:52 am
Karma: 26
Contact:

Re: "NaN" response when you +1 a post

#8 Post by Rjmcf » Sun Mar 04, 2018 10:03 am

It’s now officially an “issue” so hopefully it’ll be dealt with (possibly by me when I get some time :P )
2

User avatar
kestasjk
Developer
Developer
Posts: 518
Joined: Tue Mar 14, 2017 8:13 pm
Location: Perth, Australia
Karma: 775
Contact:

Re: "NaN" response when you +1 a post

#9 Post by kestasjk » Thu Mar 15, 2018 7:54 pm

NaN stands for not a number. Means something divided by zero or some such, I'm sure it'll be an easy fix, and it doesn't seem to affect the functionality
5

Post Reply

Who is online

Users browsing this forum: No registered users and 81 guests