Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin conflict #31

Closed
benfavre opened this issue Nov 27, 2013 · 11 comments
Closed

Plugin conflict #31

benfavre opened this issue Nov 27, 2013 · 11 comments

Comments

@benfavre
Copy link

Not compatible with this commercial plugin : http://codecanyon.net/item/layerslider-responsive-wordpress-slider-plugin-/1362246

No output on any page accross the whole site (blank page) even with wp_debug enabled.

@johnbillion
Copy link
Owner

@benfavre are you able to take a look at your error logs please? Sounds like a fatal error or a 500 error is being generated. It would be really helpful if you could let me know if there are errors being logged and what the error messages say.

@johnbillion
Copy link
Owner

Please try the latest version of Query Monitor (2.5.5). If the issue persists then I'll need access to that plugin in order to debug it, otherwise I'll just be stabbing in the dark.

@benfavre
Copy link
Author

benfavre commented Dec 2, 2013

Hey, so the latest update fixes the issue , except there is a javascript issue

Console output :

=== PHP Error in AJAX Response === query-monitor.js:141
null query-monitor.js:142
Uncaught TypeError: Cannot read property 'type' of null 

The line is qm.ajax_errors[error.type] = true;

Don't know what's going in on in the script but you there should be a check to see if error is an object and type is a property but i suppose you know that.

Thanks for looking at this, i know you had no data to work with, given how lousy my bug report was.

Also thanks for the great plugin, seriously top notch 👍

@johnbillion
Copy link
Owner

The error variable here should be an object. If it's null then something's going wrong.

@benfavre could you send me the response HTTP headers from the AJAX request please? In Chrome and Firefox you can get this from the Network tab in developer tools (and then click on the AJAX request at the bottom).

@benfavre
Copy link
Author

benfavre commented Dec 2, 2013

No ajax request is made.

@johnbillion
Copy link
Owner

There must be an AJAX request being made otherwise this JavaScript doesn't get called.

@benfavre
Copy link
Author

benfavre commented Dec 9, 2013

Hey there, when i said there is no ajax request made i actually meant it. Sorry the details have been so sparse.
I have woocomerce installed and it's getting a cart fragment via ajax.
The js is picking up on the wrong ajax request and is not making it's own one;

@johnbillion johnbillion reopened this Dec 9, 2013
@johnbillion
Copy link
Owner

Oops, didn't mean to close this ticket. Thanks for the update. I'll take a look at WooCommerce at some point and see what's going on.

@johnbillion
Copy link
Owner

Can you update to 2.6.2 and let me know if this issue is fixed?

@johnbillion
Copy link
Owner

This should be fixed in 2.6.3.

@benfavre
Copy link
Author

Working fine, I confirm. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants