Chat not appearing for users
-
Hi,
Chatbot doesn’t seem to appear for normal users. When logged in as admin I can see it. In addition, when i try to interact with the bot text comes out blank (unless I refresh the page and then i can see the text with the correct font colour). Please help.
Thanks.
The page I need help with: [log in to see the link]
-
let’s start with the not being able to see it. If you can see it while logged in as admin but not when logged out, this often points to a cache issue.
caching plugins do not cache admin logins. Have you tried to clear all cache? Preload CSS, everything.
Also, any idea if this occurred after an update? Was it fine during 3.0.7 and then after 3.0.8 it happened?
one last note @nabosnyi – I can see there is a javascript error on the frontend related to mxchat likely being caused by an optimization plugin rearranging how scripts are loaded.
When trouble shooting its often good to isolate the issue and disabling your cache service or completely omitting MxChat from it to see if thats causing the issue.
Hi,
Yes – it seems to be a caching issue. I use WPRocket – what exceptions should i list so the plugin gets whitelisted? This is what I currently have:
CSS safelist: /wp-content/plugins/mxchat-basic/(.*).css
Indeed it happened with the latest update.
-
This reply was modified 5 months, 3 weeks ago by
nabosnyi. Reason: added wp rocket settings
Hey @nabosnyi,
Yes, caching plugins cause a lot of issues with chatbot type plugins because of how they rearrange scripts being loaded. In the most recent release 3.0.8 I made a new update that tried to force caching plugins from optimizing the mxchat scripts so that users arent always running into issues and have to omit manually (like you are doing now). When making this update I only did javascript and not jquery and that’s what is causing the issue for your website now. I was able to look at it from the frontend and confirm this is the issue (you likely will see a message from me to your chatbot that says “hi testing”).
I will have version 3.0.9 released in the next day or two which will include an update to the caching prevention to make it even more robust. But until then the best thing you can do is:In WP Rocket β File Optimization β JavaScript Files β “Exclude files from Defer JS”, add:
/mxchat-basic/Currently the scripts are being delayed and rendering out of order which is causing it to throw the error of a function not being found.
Thanks for your reply. I tried adding it as you suggested but no luck… Maybe I wait for the update and see.
hey @nabosnyi,
I added even more robust protection against wp rocket and others from optimizing. Try to uodate to version 3.0.9 and clear all cache. Once completed let me know.
If that doesn’t work I can guide you further on what to do in wp rocket.
Yes, it seems to have worked. Thanks.
Hi @nabosnyi,
Glad to hear. I am able to see the chatbot on my end as well now. One thing i noticed is that your chatbot return response on my end is still white on white.
A quick fix for you:.mxchat-chatbot .chat-container .chat-box .bot-message {
color: #1f2937 !important;
}
Thanks,
Maxwell
Thanks for this, i didn’t even notice it. Thanks for pointing it out. I’ve tried your recommendation but it doesn’t work… π
In the mx theme customiser i’ve put the bot chat font to be: #1f2937
Why do you think this is happening?
-
This reply was modified 5 months, 3 weeks ago by
nabosnyi.
The theme customizer add-on is a pro add-on and I’m not able to provide support for that here (against directory ToS).
If you create a support ticket (on mxchat website) or contact me via mxchat website I can assist and provide you updates!
-
This reply was modified 5 months, 3 weeks ago by
m4xw3ll.
I’ve submitted a ticket on the website – when you get a chance you can get back to me.
-
This reply was modified 5 months, 3 weeks ago by
You must be logged in to reply to this topic.