Bad arguments to +

I am counting online user but it is showing an error…

see your error, You want to add int with logic result…


1 Like

Now it is showing this in

everything is working good, online user count is ok, but i dont know why this error is showing

use one if else constion
if the get value = empty string
then = 0
else get value + 1

the problem is , you are getting empty value from firebase it seems

Have you seen above topic suggested by @TimAi2 ?

1 Like

I have followed above suggestion but it doesn’t solves

same error

Now it is replacing my points value to user count