• Hi,
    The plugin causes a conflict with the FacetWP plugin, causing the facets to not affect search pages if the Meow lightbox plugin is enabled. As soon as I deactivate the lightbox plugin, it starts working.

    I looked at the XHR requests made when a facet is clicked and I can see that Meow Lightbox is adding extra code at the bottom of the XHR request which I think is causing the error: https://i.imgur.com/URWUVdP.png

    I tried changing the parsing engine, but that didn’t resolve the issue.

    Is there any way to fix this, or to disable Meow Lightbox on certain pages, such as search pages?

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • Exactly the same issue with GridBuilder WP

    It is due to this line appearing at the end of the request – disable the plugin and it stops happening

    }<script type=”application/javascript”>var mwl_data=[];</script>

    Notably, if you use PerfMatters or similar to only load the Meow Lightbox scripts on certain pages – that is respected, but it still gets output in the JSON response for AJAX requests

    Thread Starter Divanshu

    (@dvapps)

    I was able to resolve it by adding this to the functions.php of my theme.

    
    add_option( 'mwl_obmode', '' );
    update_option( 'mwl_parsing_engine', 'HtmlDomParser' );
    update_option( 'mwl_rendering_mode', 'rewrite' );
    

    Aha – thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Conflict with FacetWP’ is closed to new replies.