Error : please login to use chat

hi, guys. now i having error : “Please login to use chat”. May i know how to solve it? i try on localhost, it is no problem. when i use it in domain. The error message is coming. Please help it anyone know how to solve it. Because i can’t found any place that can get debug.