– WP Version: 5.3.2
– PHP Version: 7.2.7
– Server Mode: Cloud
– Yes I see the chats that I currently tested with with all messages (see comments below)
– Tested with both normal browsing and incognito (same results).
We are not yet using the live chat in production (hoping to do so in the near future). It is currently installed and users can leave an offline message which gets emailed to a couple of recipients. This works fine with the exception of the logs filling up after the last update as mentioned. For the purpose of doing some testing I went online as an Agent and here are my results:
1) First off I notice that on the home page only the chat box slides out however I cannot press the Start Chat button. In the console I do not get the [WPLC] Connecting to https://tcx-live-chat.appspot.com message as I do on all the other pages, so it is not connecting on page load. There are no errors in the console though.
2) The first time I initiate a chat and supply a name and email, this name and email appears in the agents live chat console with the Accept Chat button appearing. The chat appears to go fine, however once the conversation is finished and I look at the chat in history, the name is Guest and it shows no email set. This only happens with the first conversation all others in the test recorded the name and email in history.
3) In the history list of chats, it showed all my test chats (six in total), however there were pagination indicators at the bottom that suggested there were 8 pages of chat messages. Pressing any of these did not change to another page.
4) I deleted all history and cleared my debug.log (the pagination indicators went away). I then cleared my browsers cache (as the user on a different machine) started a new session using the same email. Once I accepted this chat as an Agent the old messages were already in it from my previous conversation.
5) During all tests I received the following 2 error messages in my console when ending the chat as the Agent (I would send screen shots but am not able to with this forum):
TypeError: undefined is not an object (evaluating 'wplc_aid_group.indexOf')
WebSocket connection to 'wss://tcx-live-chat.appspot.com/socket.io/?link_from_my_site' failed: WebSocket is closed before the connection is established.
Any insight into this would be helpful.
Thanks for your help.