I know my site and traffic very well. I have chat set to show "everyone". Seems the number of people showing as online just keeps growing and growing, and the system does not detect when they go offline. I know for a fact that there's never any more than 50 or 60 online at any given time. Currently, chat is showing 278 online, and growing every hour. There's no way there are 278 members online on my site.
Also, you can go to the members page and look up a member showing online in chat, but showing offline on their profile.
Anyone know how to fix this so that chat shows only people that are actually online?
What version of SE?
What version of PHP?
PHP version 7.0.25
SE version 4.10.3p2
Please check your task manager as the online stuff is controlled by that. If it is not working or there are errors, you would need to look into the cause of that. Perhaps the tasks are not running. Also, check your settings for the Chat plugin.
This is what is shows in task scheduler:
Chat Data Maintenance 60 seconds Succeeded: neverNever succeeded, never failed. So not sure what that means.
Did you double check your server error log for the tasks? Are they being blocked from running?
I couldn't decipher the error log to save my life. I don't have any clue what any of that means. We're not all expert developers here. That's why we buy scripts from developers. So the log is worthless to me.
So I switched it to cron, worked fine for a few hours, but now the chat task just runs on and on and on. Currently:
Generally, when we ask to check error logs, we expect those who are not experts to post an error so that we can help decipher it.
Check for third party plugins that use the task manager heavily such as activity feed, etc. See if disabling any will get it unstuck. Check with your host to see if anything is blocked. Ask for cURL to be enabled or ask the host why it's not working with cURL as they would have more info.