Start Chat button not working
-
I have installed this plugin first time. After installing from the front end the start chat button is not working. Clicking event on the button is not working. I checked console there’s no error occurs. I think clicking the button will change the #wp-live-chat-react, #wp-live-chat-3, #wp-live-chat4 to display block. But it’s remain same. Please help.
The installed website doesn’t have ssl.-
This topic was modified 6 years, 5 months ago by
rashedbrur.
The page I need help with: [log in to see the link]
-
This topic was modified 6 years, 5 months ago by
-
Hi @rashedbrur ,
The URL you have provided does not seem to have our plugin enabled which makes it difficult to troubleshoot and identify what could be wrong.
Please check the given link again sir. Thanks for your response.
Hello @rashedbrur, your website is misconfigured. You have a wrong SSL certificate running, signed for *.web-hosting.com.
Your website is working mixed between http and https and that’s why you’re getting errors. Please switch to http only (not recommended) or configure your SSL certificate properly then switch to https only.
I removed all https:// from database replaced with http://. From wordpress installer I changed the domain https to http, still not working. Do you have any referral instruction to check where https is still working.
If I add ssl will it work fine? If then I will add after few days. I have to buy ssl.
NB: The site is under-maintenance.Hi @rashedbrur ,
Could you please switch to another theme temporarily to check if it works? There is a chance something in the current theme is changing the expected behaviour of the plugin (most probably jQuery). Since the website is under maintenance you should be able to do it just to test/confirm.
Let us know!
By the way it is always good to switch to HTTPS not only for this (or any) plugin to work properly but for better security of your website. You don’t even need to buy a certificate nowadays as there are many providers that issue certificates for free. You can look into let’s encrypt. CPANEL also has an option to get free certificate for the domains hosted but this is up to the hosting provider to enable so it might not be available in your case.
Thanks for your support. My hosting package doesn’t support let’s Encrypt ssl. I will buy within few days. Hope then it will work. I read the reviews, this plugin is awesome. But my bad luck.
Hello sir,
As your suggestion, I added SSL to my website but still it’s not working. The start chat button is not working. Please check.Hi @rashedbrur ,
Have you tried switching to another theme just to test? As suggested in the previous post, it is very likely that jQuery loaded by the theme (or a plugin) is causing issues with the chat functionality.
I checked twenty nineteen theme. Plugin works fine.
The plugin js is not working.function theme_scripts() { wp_enqueue_style('theme-owlcarousel','//cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.carousel.min.css', array(), '0.1.0', 'all'); wp_enqueue_style('theme-owltheme','//cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/assets/owl.theme.default.css', array(), '0.1.0', 'all'); wp_enqueue_style('theme-bootstrap','//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css', array(), '0.1.0', 'all'); wp_enqueue_style('theme-fontawesome','//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css', array(), '0.1.0', 'all'); wp_enqueue_style( 'theme-style', get_stylesheet_uri() ); wp_enqueue_script('theme-jquery', '//cdnjs.cloudflare.com/ajax/libs/jquery/3.4.1/jquery.min.js', array(), null, true); //wp_enqueue_script( 'wp-editor-customizer', get_template_directory_uri() . 'js/customizer.js', array( 'jquery' ), rand(), true ); wp_enqueue_script('theme-popper', '//cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js', array(), null, true); wp_enqueue_script('theme-owl', '//cdnjs.cloudflare.com/ajax/libs/OwlCarousel2/2.3.4/owl.carousel.js', array(), null, true); wp_enqueue_script('theme-bootstrap', '//maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js', array(), null, true); wp_enqueue_script( 'theme-main-function', get_template_directory_uri() . '/js/function.js', array(), '20151215', true ); wp_enqueue_script( 'theme-navigation', get_template_directory_uri() . '/js/navigation.js', array(), '20151215', true ); wp_enqueue_script( 'theme-skip-link-focus-fix', get_template_directory_uri() . '/js/skip-link-focus-fix.js', array(), '20151215', true ); if ( is_singular() && comments_open() && get_option( 'thread_comments' ) ) { wp_enqueue_script( 'comment-reply' ); } } add_action( 'wp_enqueue_scripts', 'theme_scripts' );I used my scripts like this.
-
This reply was modified 6 years, 5 months ago by
rashedbrur.
Hi @rashedbrur ,
If Twenty nineteen works then it confirms that the issue is with your theme. Unfortunately we cannot advice on what needs to change in your code as this falls outside the scope of our role and also we cannot guarantee that any advice given will not break something else as we can’t know how each dependency is used in your theme.
What I can tell you is that it is related to jQuery.
I hope this helps!
If I added the plugin js using functions.php will this work? If this worked then which plugin should I use?
Hi @rashedbrur ,
I am not sure I understand what you are asking.
Do you want to:
a) move your theme’s JS in your theme’s functions.php file?
or
b) move the live chat plugin’s JS code in your theme’s functions.php file?
or
c) none of the aboveIf (a) then we cannot give any advice on how to customise/develop a theme. You would need to ask this in the main support forum of WordPress.
If (b) then this is definitely not recommended. Changing the functionality of the plugin in anyway will almost certain cause problems.
If (c) then please explain in more detail. I have already given you an idea what the problem is but unfortunately I cannot advice you how to fix it as it falls outside the scope of this forum!
-
This reply was modified 6 years, 5 months ago by
The topic ‘Start Chat button not working’ is closed to new replies.