Pro Theme (6.0.2) update - carousel no longer working

Since updating to Pro Theme 6.x and clearing the cache my carousel is no longer working

In console of chrome, I get the following errors:

jquery-migrate.min.js?ver=3.3.2:2 JQMIGRATE: Migrate is installed, version 3.3.2
jquery.min.js?ver=3.6.1:2 jQuery.Deferred exception: jQuery(...).xSlick is not a function TypeError: jQuery(...).xSlick is not a function
    at HTMLDocument.<anonymous> (https://www.galwaytri.ie/:628:36)
    at e (https://www.galwaytri.ie/wp-includes/js/jquery/jquery.min.js?ver=3.6.1:2:30038)
    at t (https://www.galwaytri.ie/wp-includes/js/jquery/jquery.min.js?ver=3.6.1:2:30340) undefined
S.Deferred.exceptionHook @ jquery.min.js?ver=3.6.1:2
jquery.min.js?ver=3.6.1:2 Uncaught TypeError: jQuery(...).xSlick is not a function
    at HTMLDocument.<anonymous> ((index):628:36)
    at e (jquery.min.js?ver=3.6.1:2:30038)
    at t (jquery.min.js?ver=3.6.1:2:30340)
DevTools failed to load source map: Could not load content for https://www.galwaytri.ie/wp-content/plugins/events-manager-pro/includes/css/events-manager-pro.css.map: HTTP error: status code 404, net::ERR_HTTP_RESPONSE_CODE_FAILURE

Hello Francis,

Thanks for writing in! You may be having some caching issues. Please check out this documentation guide:

I also noticed that you are using a child theme. You may have added some template files which may cause be the cause of the issue. Kindly do the following:

If nothing is working, we would love to check your site. You can create a secure note in your next reply with the following info:
– Link to your site
– WP login URL
– WP username
– WP password
– WP Administrator Role
– Confirmation that we can access and make changes to your site

To know how to create a secure note, please check this out: How The Forum Works

image

Best Regards.

Hi, I have tried clearing the cache on reddis and in cornerstone and still have the issue

I have provided the details via secure note

I have managed to resolve the issue myself - The child them had a “functions.php” which included code for carousel - it appears to have been missing this line near the top

if ( $is_enabled ) {
  wp_enqueue_script( 'x-stack' );
}

I am not sure if this was new code added into v6.x of the Pro theme, but doing a file comparison of _post-carousel.php showed me the difference and as soon as I added that code it started working

Glad to hear your child theme issue is fixed now. Comparing the latest code from the parent theme with your child theme is the way to troubleshoot child theme issues. Glad you’ve figured it out.

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.