PublishPress Content Display Slider View broken
-
Hello,
We use the PublishPress Content Display block in Slider view to display a slider of recent news posts on our website homepage. This previously worked great, but is currently broken – instead of a slider, it now just displays all the news post links in a vertical list which looks awful.
It looks fine in the editor:
But not on the actual site:This issue persists across all browsers I’ve tested (Edge, Chrome, Firefox, no access to Safari to test unfortunately), and persists on mobile and in private browsing. Clearing cookies/cache has not fixed it, and the issue is there for all users.
I’ve had a look in the console in developer tools and there are multiple errors. I’ve copied and pasted everything here:JQMIGRATE: Migrate is installed, version 3.4.1
(index):971 [Intervention] Images loaded lazily and replaced with placeholders. Load events are deferred. See https://go.microsoft.com/fwlink/?linkid=2048113
slick.min.js?ver=3.2.5:1 Uncaught ReferenceError: module is not defined
at slick.min.js?ver=3.2.5:1:114
at slick.min.js?ver=3.2.5:1:160
jquery.min.js?ver=3.7.1:2 jQuery.Deferred exception: $(…).slick is not a function TypeError: $(…).slick is not a function
at HTMLDivElement. (https://www.stthomas.nhs.uk/content/plugins/advanced-gutenberg/assets/blocks/recent-posts/slider.js?ver=3.2.5:3:17)
at ce.each (https://www.stthomas.nhs.uk/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:3129)
at ce.each (https://www.stthomas.nhs.uk/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:1594)
at HTMLDocument. (https://www.stthomas.nhs.uk/content/plugins/advanced-gutenberg/assets/blocks/recent-posts/slider.js?ver=3.2.5:2:100)
at e (https://www.stthomas.nhs.uk/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27028)
at https://www.stthomas.nhs.uk/wp-includes/js/jquery/jquery.min.js?ver=3.7.1:2:27330 undefined
(anonymous) @ jquery.min.js?ver=3.7.1:2
jquery.min.js?ver=3.7.1:2 Uncaught TypeError: $(…).slick is not a function
at HTMLDivElement. (slider.js?ver=3.2.5:3:17)
at ce.each (jquery.min.js?ver=3.7.1:2:3129)
at ce.each (jquery.min.js?ver=3.7.1:2:1594)
at HTMLDocument. (slider.js?ver=3.2.5:2:100)
at e (jquery.min.js?ver=3.7.1:2:27028)
at jquery.min.js?ver=3.7.1:2:27330
health-a-to-z?syndicatorId=adc52fb0-15b0-11ea-895c-b3f747d3eead:1 Blocked autofocusing on a element in a cross-origin subframe.Any advice would be appreciated, many thanks in advance!
The page I need help with: [log in to see the link]
You must be logged in to reply to this topic.