• Resolved gordonbrow

    (@gordonbrow)


    I am getting the following Javascript error after update to WP 4.1.

    upcp-jquery-functions.js?ver=4.1:25 Uncaught ReferenceError: maintain_filtering is not defined
    —————————————————–
    Uncaught ReferenceError: maintain_filtering is not defined
    —————————————————–
    });

    function addClickHandlers() {
    if (maintain_filtering != “No”) {
    jQuery(“.upcp-catalogue-link”).click(function(event){
    event.preventDefault();
    var link = jQuery(this).attr(‘href’);
    jQuery(“#upcp-hidden-filtering-form”).attr(‘action’, link);
    jQuery(“#upcp-hidden-filtering-form”).submit();

    Is there a work around for this? a huge amount of time has been dedicated to entering the data and this error is causing problems with other plugins and the theme itself. The URL is http://newsite.comprobusiness.com/

    https://wordpress.org/plugins/ultimate-product-catalogue/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Rustaurius

    (@rustaurius)

    Hi Gordon,

    Sorry about the error. It should be gone with version 2.5.9 of the plugin. Please let me know if that’s not the case for you.

    Thread Starter gordonbrow

    (@gordonbrow)

    Thanks for the quick response. I fixed it by changing from AJAX Filtering to Javascript Filtering. Unfortunately, I don’t know the difference.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Javascript error with WP4.1’ is closed to new replies.