Well, I don’t know about other plugins but I can tell you what caused it in WP Server Stats hopefully it will help others as well.
You see, from Day 1 WP Core Team decided not to use SESSION variables inside WP for some reason. But for years developers can still user SESSION variables inside their codes with some occasional PHP Notice. But it seems from v4.9 WP core has made sure that session cannot be used inside WP. So, if you are using something like session_start()
PHP function, it will throw that loopback issue.
The only solution to this is rewrite your code in such a way that to do not use SESSION in any way whatsoever.
In WP Server Stats there was a couple of places where session has been used, so I basically have to rewrite codebase ensuring no feature loss while not using session in any way whatsoever.
No sure if the same problem remains for other plugins or not but this was my findings.
P.S.: If you liked this plugin, please consider providing a review and if possible donating some amount for future development.
Thanks.