Opened 11 years ago
Closed 11 years ago
#2611 closed defect (bug) (worksforme)
javascript conflict with Royal Slider & eMember plugin
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Cc: | design@… |
Description (last modified by ) ¶
I recently installed the eMember plugin (from Tips and Tricks HQ) and have been running bbPress and the Royal Slider slideshow plugin on my site. When all three plugins are running, however, my home page slideshow stops working. I contacted Royal Slider about the issue and they got back to me saying there is a JS error that is blocking the execution of the slideshow-and the source of it was bbPress.
My site: dev.detoxtheworld.com
Wordpress version 3.8.1
Running bbPress version 2.5.3
I’ve tested the problem using a default theme and it still occurs.
I checked out the script in Chrome’s JavaScript console and got this:
“Uncaught ReferenceError: QTags is not defined” (around the 5th line of code): edButtons[110] = new QTags.TagButton( ‘code’, ‘code’, ‘', '‘, ‘c’ ); QTags._buttonsInit();
That looks like it might be it. Any thoughts on how to define the QTags?
Thanks in advance for the help.
Here is the script from which the conflict originates:
http://dev.detoxtheworld.com/wp-content/plugins/bbpress/templates/default/js/editor.js
https://bbpress.trac.wordpress.org/browser/tags/2.5.3/templates/default/js/editor.js
A copy of my correspondence with Royal Slider:
From: Dmitry Semenov (Support staff)
Hi,
You have a JS error that blocks the execution, from this file http://dev.detoxtheworld.com/ ... /bbpress/templates/default/js/editor.js , slider can't cause it even theoretically.
If you say that everything starts working correctly after eMember is deactivated - contact their support, and ask which of their files can cause conflict with bbpress js file.
Dmitry
On Wed, Jun 04 at 04:18 AM, art wrote:
Dear Dmitry,
I am in the process of installing a new e-commerce system on my site: eStore from Tips and Tricks HQ (http://www.tipsandtricks-hq.com/products). I've installed eStore with no problem and have also installed eMember, a related plugin from Tips and Tricks which manages customer accounts and access. When I activate eMember, however, my home page sliders stop working. The problem persists even when I switch to a default theme, so I'm 99% sure it's a conflict between Royal slider and eMember plugins. I don't see any Javascript errors when I run Firebug in Firefox, but Tips and Tricks HQ support community points to javascript errors as a possible source of similar problems. I was wondering if you could take a look and pinpoint what the problem might be.
My site with the eMember plugin activated: http://dev.detoxtheworld.com/
My site with the eMember plugin deactivated: https://www.detoxtheworld.com/
(You can see the working sliders on the second link.) I'm happy to provide backend access if that helps you evaluate what the problem might be.
Thanks for your help.
Eric
Pull Requests
- Loading…
Change History (10)
#3
@
11 years ago
@wplove3268, It shows that the error is coming from a bbPress's JS file but it could have been triggered by another plugin's JS code.
Quick questions for you:
1) Does that error go away if you deactivate Royal Slider plugin?
2) Does the error go away if you deactivate eMember plugin?
#4
@
11 years ago
Good questions. More info and the full results in default 2012 theme:
BBPress v.2.5.4 (I just updated)
New Royal Slider v.3.1.9
WP eMember v.8.8.7
- BBPress + eMember + RoyalSlider activated: QTags JS Error (BBPress and wp-includes), Sliders areas display but do not run the slides.
- BBPress + eMember Activated, RoyalSlider deactivated = QTags JS Error (BBPress), Sliders areas do not display.
- RoyalSlider + eMember activated, BBPress deactivated = No JS Error, Site displays normally (but without BBPress forums)
- BBPress Activated, eMember and RoyalSlider deactivated = No JS Error.
- BBPress + Royal Slider Activated, eMember deactivated = No JS Error.
I hope this helps. I appreciate you looking into the issue.
I've left the site in a default theme with all three plugins running to rule out theme-related issues.
#5
@
11 years ago
Thank you for doing that test. I just checked an install with bbPress and eMember and I don't see any JS error. Maybe there is another plugin in your install that is contributing to this.
What happens if you temporary deactivate everything except bbPress and eMember? What happens if you only keep bbPress, emember and the slider plugin active?
#6
@
11 years ago
- All plugins deactivated except BBPress and eMember: no JS error.
- All plugins deactivated except BBPress, eMember and RoyalSlider: no JS error
I started activating my way through my other plugins and found when the eMember Form Builder Addon was activated at the the same time as eMember I got a JS error (again BBPress and wp-includes)
- All plugins activated (including Form Builder and BBPress) except eMember: no JS error
- All plugins activated except eMember Form Builder: no JS error
#7
@
11 years ago
Thank you. So it looks like the form builder addon is the one that needs some investigation. I will take a look at it.
#10
@
11 years ago
- Milestone Awaiting Review deleted
- Resolution set to worksforme
- Status changed from new to closed
I'm going to close this ticket as it appears it is not a bbPress issue, if you decide it is please reopen the ticket and and change the milestone to 'awaiting review'.
And thanks Tips and Tricks HQ for looking into this.
Thanks for the ticket, it doesn't look like we can download their plugins.
I sent a quick note to the Tips and Tricks team if they could swing by here and take a look. ;)