Support Forum

Moderator tools and Link to Forum permission

19 Answers

New Answer

YS Yellow Swordfish
Yellow Swordfish
Member

Well you only have the single copy of jQuery being loaded but it IS an older copy and it IS being loaded improperly by your WP theme. It should be changed. However the site is throwing a script error regardless of that in the themes ‘custom.js’ file – but let’s fix the jQuery load first.

I am guess it is being loaded in the themes functions.php file so take a look to see if your can see a wp_enqueue_script() call in there… Let us know what you find.

DA Dan
Dan
Member

Mr Papa said
so that means its likely coming from another wp plugin… can you check those?  or temp deactivate them and see if it goes away and then reactivate one by one till it comes back…

I’ve gone through them and have had no luck with this yet.  Maybe there’s something going on in my actual theme.  Can you see anything in my source code that is the conflicting issue? I can take care of the issue if I know what line of code(s) are the cause of the problem.

YS Yellow Swordfish
Yellow Swordfish
Member

I can’t check your source code…!

The easiest way to check for a plugin conflict is to

  1. deactivate them one at a time.
  2. clear the browser cache.
  3. run a page and check the source code being generated looking for loaded copies of jQuery.js (or might be some thing like jQuery.min.js) – you are wanrting just one.
  4. See if the problem is resolved
  5. repeat as necessary…

Or – install a plugin called ‘Plugin Organiser’ which we have been hearing about lately from another user – and specify which WP plugins should be loaded on the forum pages. This is simpler and quicker of course but does mean you need to install the organiser plugin first.

DA Dan
Dan
Member

Just letting you know that I fixed the problem. Here’s some of what went on to get a solution:

I had a clone of the site on my dev server.  I did some plugin/theme swapping, found out my theme was the only problem.  All plugins activated + any other theme = worked fine. This includes the Toolbox and Profile area.

I went through all the non-topical WordPress theme files (ie I ignored header.php, footer.php, etc) and started removing anything from my theme I know I wasn’t using – custom post types, custom slider/photo gallery scripts/CSS, etc…

Not exactly sure which one was the culprit, but it was definitely caused due to advanced functions built in with my theme.

Thanks for the support, I’ve only got good things to say about your product and team.

YS Yellow Swordfish
Yellow Swordfish
Member

Wow – that’s curious is it not. That means the theme was loading jQuery twice which is bizarre – especially as one way was correct and one was not!

And thank you for the thoughtful words.