Promotion slider kills drop-down menu
-
Mr. Wood,
I made the mistake of upgrading WP to 4.0 and now when I activate the Promotion Slider plug-in, the pull down menu and the featured slider does not work. The theme we are using is called Ecclesia, and other plugins include- Bliss Gallery, Connections, Contact form 7, Fancy Dolly, Jetpack, and Dirty Studs. The website is: roseburguu.orgIf you can give me a clue on how to fix this problem; it would be greatly appreciated.
Your truly, Henry Sill web master
e-mail ac4zi@yahoo.com
-
The best thing you can do is provide a link to the page where you are having the issue.
Mr. Wood,
Thanks so much for your quick response. Forgive my ignorance, but I’m not sure what you are asking for. Could you explain just what a link to the page where I am having the issue is? I did give you the URL as http://www.roseburg.org which brings you to the home page, and that is where we are having the problem.Henry
Sorry, I must have missed the original URL reference. The link in your last comment doesn’t take me anywhere, but when I go to http://roseburguu.org/ I see that the Promotion Slider plugin is disabled. I’d need to take a look at the page with it enabled.
I understand if you don’t want to enable it on your live site since it is breaking things, but that is the only way to trigger and view the errors. In this case, if you have a testing or staging site that you can do this on it would be helpful.
Micah,
I don’t have a testing staging site, but I have no problem with activating the Promotion Slider for a day or two. I will activate it now and you can inform me when I may deactivate it.Just for your information, I did deactivate all of the plug-ins and activated them one at a time to see if there was any interaction between plug-ins. It seems that the Promotion Slider is the only culprit.
Henry
I’m seeing the pulldown menu and featured slider working. However, I do see that there are some JavaScript errors in the console. These errors are happening because the Promotion Slider plugin uses a jQuery method which was added in jQuery version 1.6 and your site is currently loading jQuery version 1.5.1.
So, the issue is that some code on your site has dequeued the jQuery that comes with WordPress and replaced it with a much older version from the Google library. To give you a better idea, WordPress 4.0 currently ships with jQuery 1.11.1 and even WordPress 3.2 (that is 8 WordPress versions ago, released in July of 2011) shipped with a newer version of jQuery (1.6.1) than your site is loading.
Since you said you tried deactivating all of the plugins, I’d be willing to bet that it is the theme that is the culprit… especially since your theme was initially created in March of 2011.
Micah,
This is what is driving me bonkers. The problem is intermittent and inconsistent. You said that the featured slider and pull-down menu is working, but when I activated the promotion slider yesterday; it wasn’t, but I see this morning that it is. Another thing I noticed that when I opened the dashboard and then the website the problem is there, but if I did not open the dashboard, the problem is gone. Just for the hell of it, I opened the dashboard and the problem reappeared. Could it be that the Internet explorer browser is doing something strange, or just what is going on here????Another problem is when the promotion slider is active, the settings do not work and I noticed that there is a page selector at the bottom of the picture that was not there before.
Assuming you are correct, in that the theme is the culprit, how can I fix it? I did see that the loading of the jquery was loaded on line 48. Can I just delete it, so it won’t load this version, or edit it to load a new version, or see if I can get a newer version of the theme?
Again, thank you for all you help, Henry
Henry,
Unfortunately it isn’t uncommon that an author will create a theme, release it, and move on to create other themes without ever updating their old themes. The Ecclesia theme had two updates, the latest in 2012 and seems to have been abandoned as far as updates are concerned. You can (and should) try contacting the author about fixing this issue, but I’d be willing to bet that the author is probably not going to make any updates.
When you say that the problem only appears after opening the dashboard, I assume you are basically referring to being in a logged in state? When you are logged in, the WordPress admin bar shows at the top of the page and loads some additional JavaScript on the page. I think what is happening is that the JavaScript that drives the admin bar requires features that don’t exist and it basically causes a ‘fatal’ error of sorts that prevents all other JavaScript code from running, thus breaking things like the menu and featured slider.
So, ultimately the main issue here is the version of jQuery that is currently loading. Without seeing the theme’s code, I wouldn’t be able to provide much help in resolving the issue. Since it is a paid theme, I can’t just download the theme and take a look. If you would like to contact me directly via my contact page (so neither of us has to publicly post our email address for spam bots) and send me a .zip of the theme, I’d be glad to take a look at the theme and post some code back to this support thread that would resolve the issue. Assuming, of course, that the theme author isn’t willing to update the theme.
Micah,
I want to thank you so much for your help. I will do as you suggested and contact the theme author for a fix, but unfortunately their support forum is down right now.My other option is to reload an older version of WP to the website to get me back to where I was, which I’m going to try next.
Thanks again, Henry
I’d recommend you use the latest version of WordPress as opposed to rolling back to an older version. I’d be glad to take a look at the theme code and help you get to the bottom of it if the theme author can’t help.
Micah,
I sent you an e mail on your contact page, but I haven’t gotten a response from you for some reason, so I am going to repeat it here.As you predicted, the author of the Ecclesia theme never responded to any of my inquires, and I would like to take you up on your offer to help me with this. I have downloaded the website and I can send it to you, but I need to know how you want this sent to you. It is about 3 megs in a zip file.
Any help you can give me with this will be greatly appreciated.
Yours truly, Henry
I found your message and sent you a direct email.
It looks like you can add this line to the end of your theme’s functions.php file to ensure that WordPress loads jQuery properly:
remove_action( 'wp_enqueue_scripts', 'mw_theme_enqueue_scripts' );
The topic ‘Promotion slider kills drop-down menu’ is closed to new replies.