Slider disappeared from website
-
Hello, my slider just disappeared with no reason. I am still able to click it because obviously navigation buttons and clickable areas are still there, but nothing is shown. Tried to delete cache…Can you please help
-
Hi! You have a lot of javascript errors in your website, and that is making the javascript to stop working correctly before it could reach our code, so you should fix those. It’s really a lot, and as I see, you are using WP Super Cache. Did you delete the cache of our slider, or your website’s cache? Because the websites cache should be deleted, if you made some changes. It kind of looks like your WordPress might have been updated, but your theme and some plugins wasn’t, which are having 3+ year old codes, which doesn’t work anymore.
1.)
jQuery(…).mobileMenu is not a function
This is coming from a code called in into your index.php, so I’m not sure, which file is it, but I think it’s coming from your theme. The code causing the error is this:<script type='text/javascript'> /* <![CDATA[ */ if (jQuery('#pagemenucontainer').length > 0) { jQuery('#pagemenucontainer').mobileMenu({ defaultText: 'Menu', className: 'menu-primary-responsive', containerClass: 'menu-primary-responsive-container', subMenuDash: '–' }); } else if (jQuery('#pagemenu').length > 0) { jQuery('#pagemenu').mobileMenu({ defaultText: 'Menu', className: 'menu-primary-responsive', containerClass: 'menu-primary-responsive-container', subMenuDash: '–' }); } if (jQuery('#navcontainer').length > 0) { jQuery('#navcontainer').mobileMenu({ defaultText: 'Navigation', className: 'menu-secondary-responsive', containerClass: 'menu-secondary-responsive-container', subMenuDash: '–' }); } else if (jQuery('#nav').length > 0) { jQuery('#nav').mobileMenu({ defaultText: 'Navigation', className: 'menu-secondary-responsive', containerClass: 'menu-secondary-responsive-container', subMenuDash: '–' }); } else if (jQuery('.navcontainer').length > 0) { jQuery('.navcontainer').mobileMenu({ defaultText: 'Navigation', className: 'menu-secondary-responsive', containerClass: 'menu-secondary-responsive-container', subMenuDash: '–' }); } /* ]]> */ </script>
If you look at the source code of your page, you can find it. You should look for this codepart inside your theme’s files, like this: https://www.nextendweb.com/wiki/smart-slider-documentation/tips-tricks/#searchprogram
and comment it out with /* and */, or just delete it. (Make sure, that you have a backup from everything you change, just in case).
Also some errors might be caused by the previous ones, so you should fix them one by one in this order, as I write them down.
2.)
$(…).on is not a function
File causing it:
https://www.centrumher.eu/wp-content/plugins/blueimp-lightbox/js/jquery.blueimp-gallery.js
Problem:
This code is using some older jQuery which at least 3 years old. Your website has some custom jquery code in it, which looks like jQuery 1.6.3, but your WordPress is loading the latest jQuery, 1.11.2, and these old and new jQuery’s aren’t going well together, only one jQuery should be in a website, and it seems like the 1.11.2 is stronger in this case, because the “on” function has been deprecated 3 years ago.So you shouldn’t use this blueimp lightbox plugin anymore, or try to update it.
3.)
jQuery(…).on is not a function
File causing it:
https://www.centrumher.eu/wp-content/plugins/buddypress/bp-core/js/widget-members.min.js
Problem: same as before, code is too ols, and you shouldn’t use this buddypress plugin, or you should update it.4.)
$(…).getElements is not a function
File causing it:
https://www.centrumher.eu/wp-content/themes/GameStarNew/menu/MenuMatic_0.68.3.js
Some problem with MooTools, as I see it’s the 2009 version, so probably this should be updated too. Or you could just try to comment out the whole code in this file with /* */ or delete it, since it doesn’t work anyway.5.)
jQuery(…).on is not a function
File causing it:
https://www.centrumher.eu/wp-includes/js/thickbox/thickbox.js
Problem: same, old jQuery function. Not sure how can this still be in a WordPress core file, but it shouldn’t be called in, and I think it is called in by your theme, so you should look in your theme’s files the same way with a searchprogram, and search for thickbox.js, and comment or delete out the line calling it in.So all together, you need to update almost everything, because the codes used in your website are really old, as you see in your theme there are 6 year old codes, and a lot of them aren’t working, just making errors in other codes.
Oh, you helped a lot, looks like I have a lot to do. But still I can′t understand why it stops working suddenly yesterday, I didn′t change anything in code and it never happened before.
With slider my chat and recent reviews widget stopped working tooWordPress changed it’s updating to be automatic, so this update might have happened at your site too, but you should have receive a notice email about it (maybe it went to the spam folder).
yeah, but last update was 7.5.2015 and everything worked since till Wednesday morning
FIXED. Someone inserted part of spy code into theme template, which inserts old jquery on our site. Thank you for help and deep analysis!
Hi,
I am a beginner to wordpress and have to handle an existing wordpress website. There used to be a slider on the homepage of the website, however the same has disappeared. Can someone help me on what needs to be done to get the slider back. website is studyandworkabroad.in
Hi Valancio!
I can see a slider in your homepage. Did you figure it out, or do you want to replace it with our slider?
Hello,
I don′t know why the Slider disappeared from my website https://cambiofundamental.com.ve/.
Now: https://www.dropbox.com/s/52jboe45ljhmi6y/Screenshot%202016-03-25%2013.45.38.png?dl=0
Before this error: https://www.dropbox.com/s/2ya627443vqv00h/Screenshot%202016-03-25%2013.46.17.png?dl=0
I have a lot of time trying to figure this out. Please help me.
Hi @cggonzalez !
You have an error in your theme, and that is making our slider to not to show up:
ReferenceError: ScrollScene is not defined
https://cambiofundamental.com.ve/wp-content/themes/roots/assets/js/scripts.js
Line 2135Do you know something about a ScrollMagic option at your theme? It’s something, that you scroll lower on your website, and an animation happens at the different points: https://scrollmagic.io/
Please write to me on [email protected]
Thanks a lot for your response.. I have this website in a test environment https://cambiofundamental.cleteci.com/ and I getting the same error but the slider is working… So I thinks this is not the error :(.
Oh okey, I see now the real problem. Your website stops at “Próximos Eventos”, so you have some html codes missing from the end; if you check the page source, you can see. From your test website I can see, that this part should come:
<div class="separador" ><div ></div></div><div class="ver_mas"><a href="/calendario">Ver más...</a></div> </div>
does that give you a hint, where you should look?Thank you so much, I am trying to figure out what is going on.. It is a good hint. You are brilliant! hehe
You could also try to put this into your config.php file:
error_reporting(E_ALL); ini_set('display_errors',1);
It might make your website write out the error.
- The topic ‘Slider disappeared from website’ is closed to new replies.