Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter brycesticky

    (@brycesticky)

    Hello Again,

    It seems the issue is a jquery issue in my theme.

    Please see below code:

    upcp-jquery-functions.js?ver=4.3.10:440 Uncaught TypeError: jQuery(…).slider is not a function
    at UPCP_Setup_Price_Slider (upcp-jquery-functions.js?ver=4.3.10:440)
    at HTMLDocument.<anonymous> (upcp-jquery-functions.js?ver=4.3.10:101)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)
    upcp-jquery-functions.js?ver=4.3.10:306 Uncaught TypeError: jQuery(…).slider is not a function
    at UPCP_Ajax_Filter (upcp-jquery-functions.js?ver=4.3.10:306)
    at UPCP_DisplayPage (upcp-jquery-functions.js?ver=4.3.10:255)
    at HTMLSelectElement.onchange (?categories=6:607)
    UPCP_Ajax_Filter @ upcp-jquery-functions.js?ver=4.3.10:306
    UPCP_DisplayPage @ upcp-jquery-functions.js?ver=4.3.10:255
    onchange @ ?categories=6:607
    upcp-jquery-functions.js?ver=4.3.10:306 Uncaught TypeError: jQuery(…).slider is not a function
    at UPCP_Ajax_Filter (upcp-jquery-functions.js?ver=4.3.10:306)
    at UPCP_DisplayPage (upcp-jquery-functions.js?ver=4.3.10:255)
    at HTMLSelectElement.onchange (?categories=6:612)
    at Object.trigger (jquery-1.7.2.min.js?ver=4.9.8:3)
    at HTMLOptionElement.<anonymous> (jquery-1.7.2.min.js?ver=4.9.8:3)
    at Function.each (jquery-1.7.2.min.js?ver=4.9.8:2)
    at init.each (jquery-1.7.2.min.js?ver=4.9.8:2)
    at init.trigger (jquery-1.7.2.min.js?ver=4.9.8:3)
    at HTMLOptionElement.<anonymous> (upcp-jquery-functions.js?ver=4.3.10:116)
    at Function.each (jquery-1.7.2.min.js?ver=4.9.8:2)
    UPCP_Ajax_Filter @ upcp-jquery-functions.js?ver=4.3.10:306
    UPCP_DisplayPage @ upcp-jquery-functions.js?ver=4.3.10:255
    onchange @ ?categories=6:612
    trigger @ jquery-1.7.2.min.js?ver=4.9.8:3
    (anonymous) @ jquery-1.7.2.min.js?ver=4.9.8:3
    each @ jquery-1.7.2.min.js?ver=4.9.8:2
    each @ jquery-1.7.2.min.js?ver=4.9.8:2
    trigger @ jquery-1.7.2.min.js?ver=4.9.8:3
    (anonymous) @ upcp-jquery-functions.js?ver=4.3.10:116
    each @ jquery-1.7.2.min.js?ver=4.9.8:2
    each @ jquery-1.7.2.min.js?ver=4.9.8:2
    UPCP_Dynamic_Disabling @ upcp-jquery-functions.js?ver=4.3.10:115
    (anonymous) @ upcp-jquery-functions.js?ver=4.3.10:30
    dispatch @ jquery-1.7.2.min.js?ver=4.9.8:3
    i @ jquery-1.7.2.min.js?ver=4.9.8:3
    9upcp-jquery-functions.js?ver=4.3.10:306 Uncaught TypeError: jQuery(…).slider is not a function
    at UPCP_Ajax_Filter (upcp-jquery-functions.js?ver=4.3.10:306)
    at UPCP_DisplayPage (upcp-jquery-functions.js?ver=4.3.10:255)
    at HTMLInputElement.onkeyup (?categories=6:602)
    UPCP_Ajax_Filter @ upcp-jquery-functions.js?ver=4.3.10:306
    UPCP_DisplayPage @ upcp-jquery-functions.js?ver=4.3.10:255
    onkeyup @ ?categories=6:602
    upcp-jquery-functions.js?ver=4.3.10:306 Uncaught TypeError: jQuery(…).slider is not a function
    at UPCP_Ajax_Filter (upcp-jquery-functions.js?ver=4.3.10:306)
    at UPCP_DisplayPage (upcp-jquery-functions.js?ver=4.3.10:255)
    at HTMLSelectElement.onchange (?categories=6:612)
    UPCP_Ajax_Filter @ upcp-jquery-functions.js?ver=4.3.10:306
    UPCP_DisplayPage @ upcp-jquery-functions.js?ver=4.3.10:255
    onchange @ ?categories=6:612
    upcp-jquery-functions.js?ver=4.3.10:306 Uncaught TypeError: jQuery(…).slider is not a function
    at UPCP_Ajax_Filter (upcp-jquery-functions.js?ver=4.3.10:306)
    at UPCP_DisplayPage (upcp-jquery-functions.js?ver=4.3.10:255)
    at HTMLSelectElement.onchange (?categories=6:617)

    Hi Bryce,

    We went to the link you sent and scrolled down to the catalogue section. There seemed to be a few issues:

    1) The shortcode was placed in a WP Bakery element which takes up about 1/10 of the page (This might be why you cannot see/use the search and filter functions). Are you able to move it to a full width container?

    What we saw:

    2) Did you add any of your products to the catalogue? To do this go to “Catalogues” -> Click your catalogue name to edit -> scroll down the page, select products from the left side “Products” box and click “Add to Catalogue”.

    3) If it’s still not working, try adding the shortcode to a blank page that doesn’t use WP Bakery.

    Thread Starter brycesticky

    (@brycesticky)

    Hi There,

    It was an issue in the jquery of the theme, I have fixed the code and the filter is working now.

    Thank you for your help.

    Hi, I am having the same issue. @brycesticky can you explain what you did to fix it?

    @etoilewebdesign I get the below javascript error on page load as well as when hitting enter from the search box or checking/unchecking a category.

    TypeError: jQuery(…).slider is not a function
    at UPCP_Setup_Price_Slider (upcp-jquery-functions.js?ver=4.3.10:440)
    at HTMLDocument.<anonymous> (upcp-jquery-functions.js?ver=4.3.10:101)
    at i (jquery.js?ver=1.12.4:2)
    at Object.fireWith [as resolveWith] (jquery.js?ver=1.12.4:2)
    at Function.ready (jquery.js?ver=1.12.4:2)
    at HTMLDocument.K (jquery.js?ver=1.12.4:2)

    Thread Starter brycesticky

    (@brycesticky)

    @globularmass – it was a problem in the header.php file. The developer of the theme had specified which js library to use (and had specified an older version).

    Because WP has its own built in js library I deleted these lines of code out of the header.php file and it fixed the problem.

    I suggest you backup any of your header.php file before ‘messing’ around there in case you break stuff 🙂

    @brycesticky thank you so much, that fixed it for me as well!

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

The topic ‘Filter/Search Not Working’ is closed to new replies.