• Resolved Abrogrammer

    (@ashishseo18)


    When I log in and view the home page, the Testimonial carousel works fine. However, when I view it without logging in, it doesn’t function properly. Could you check why this is happening? Additionally, I’ve noticed that when I check the console, there are some extra div elements in the Testimonial carousel when logged in, but it appears normal when not logged in. Moreover, I’ve observed that an error appears in the console when I access the page without logging in.

    Uncaught TypeError: $j(…).select2 is not a function
    at initSelect2 (woocommerce.min.js:1:108)
    at HTMLDocument. (woocommerce.min.js:1:7710)
    at e (jquery.min.js:2:27028)
    at t (jquery.min.js:2:27330)

    The page I need help with: [log in to see the link]

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Alin (a11n)

    (@alinclamba)

    Hi @ashishseo18,

    The issue you’re encountering seems to be related to caching which affects the Testimonial carousel for non-logged-in users.

    To fix this, here are some potential solutions:

    1. First, delete cached pages: in WP Super Cache, use the Delete Cached Pages button under the Easy tab to clear all cached files, ensuring non-logged-in users get the latest version of your site.
    2. Then you can try to exclude the carousel page from caching: under Accepted Filenames & Rejected URIs in the Advanced tab, add the URL of the page with the carousel to prevent it from being cached.
    3. And last, you can check for plugin conflicts: temporarily disable any optimization or WooCommerce-related plugins to see if they are causing the JavaScript error that’s affecting the carousel.

    Let me know if this helps or if you need further assistance!

    Plugin Support Stef (a11n)

    (@erania-pinnera)

    Hi there, @ashishseo18,

    Do you have updates about that, do you still need help? We usually close inactive threads after one week of no movement, but we want to make sure we’re all set before marking it as solved. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.