Hi @Tarek, is this occurring on every post? We did fix a similar issue in Mattermost v3.1 which is scheduled to release tomorrow (June 16th). Maybe you can try upgrading to that to see if it resolves your issue.
Please also make sure your WebSocket is connecting correctly. Without the WebSocket, Mattermost will not work correctly.