Skip Navigation

[Escalated to 2nd Tier] Toolset Views breaks SlideDeck 5

This support ticket is created 5 years, 3 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 - - 9:00 – 13:00
14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 - - 14:00 – 18:00

Supporter timezone: Africa/Casablanca (GMT+01:00)

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Jamal 5 years, 2 months ago.

Assisted by: Jamal.

Author
Posts
#1590125

I am trying to manage slideshows created with the SlideDeck 5 plugin (https://wordpress.org/plugins/slidedeck/).

However, when Views is active on my site, SlideDeck does not work. When I attempt to manage the slides within a slideshow, nothing works. The JavaScript appears to be broken. This only happens when Views is active on the site. As soon as I deactivate Views, SlideDeck begins working properly again.

I have attempted to roll back SlideDeck a few versions, but that did not fix the issue.

The most recent version of Views that appears to work correctly with SlideDeck is 2.9.4, so, I'm guessing that some of the JS used to implement the Gutenberg/Blocks functionality in Views must have broken things.

This is an issue that should be replicable on any WordPress site with Views and SlideDeck installed and active (I have replicated it on 4 different sites on different servers).

When Views (newer than 2.9.4) is active, and I attempt to load the SlideDeck slideshow management screen, I get the following JS error in the browser console:

Uncaught TypeError: this.editor.setLineClass is not a function
    at Object.initialize (slidedeck-admin.js?ver=5.3.7:1)
    at HTMLDocument.<anonymous> (slidedeck-admin.js?ver=5.3.7:1)
    at i (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils,jquery-ui-widget,jquery-ui-position,suggest,underscore,jquery-ui-mouse,jquery-ui&load[chunk_1]=-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,backbone&ver=5.4:2)
    at Object.fireWith [as resolveWith] (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils,jquery-ui-widget,jquery-ui-position,suggest,underscore,jquery-ui-mouse,jquery-ui&load[chunk_1]=-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,backbone&ver=5.4:2)
    at Function.ready (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils,jquery-ui-widget,jquery-ui-position,suggest,underscore,jquery-ui-mouse,jquery-ui&load[chunk_1]=-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,backbone&ver=5.4:2)
    at HTMLDocument.J (load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils,jquery-ui-widget,jquery-ui-position,suggest,underscore,jquery-ui-mouse,jquery-ui&load[chunk_1]=-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,backbone&ver=5.4:2)
initialize @ slidedeck-admin.js?ver=5.3.7:1
(anonymous) @ slidedeck-admin.js?ver=5.3.7:1
i @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils,jquery-ui-widget,jquery-ui-position,suggest,underscore,jquery-ui-mouse,jquery-ui&load[chunk_1]=-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,backbone&ver=5.4:2
fireWith @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils,jquery-ui-widget,jquery-ui-position,suggest,underscore,jquery-ui-mouse,jquery-ui&load[chunk_1]=-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,backbone&ver=5.4:2
ready @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils,jquery-ui-widget,jquery-ui-position,suggest,underscore,jquery-ui-mouse,jquery-ui&load[chunk_1]=-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,backbone&ver=5.4:2
J @ load-scripts.php?c=0&load[chunk_0]=jquery-core,jquery-migrate,jquery-ui-core,utils,jquery-ui-widget,jquery-ui-position,suggest,underscore,jquery-ui-mouse,jquery-ui&load[chunk_1]=-resizable,jquery-ui-draggable,jquery-ui-button,jquery-ui-dialog,backbone&ver=5.4:2

I've also started a support thread with the SlideDeck developer about this issue at https://wordpress.org/support/topic/incompatible-with-toolset-views/

Any assistance you can offer would be greatly appreciated. Thanks.

#1590615

Hello and thank you for contacting the Toolset support.

I tried locally on a new installation to verify if this issue will be reproduced, but it did not. First, I tried with the Toolset Blocks, then with the Toolset Views(both are virtually the same plugin), I just want to check both cases.

Maybe this is triggered by a conflict with another component(theme, plugin), please check if this issue appears when:
- Only Toolset plugins are activated. It will tell us if there is an interaction issue with another plugin.
- The theme is set to a WordPress default like Twenty Fourteen. It will tell us if there is an interaction issue with your theme.
If the problem disappears, start activating one at the time to track where the incompatibility is produced.

Or maybe the issue is triggered when there is actually some SlideDeck content or when a SlideDeck is used on a Toolset view, is that the case of you? Maybe I am missing something that you have done on your sites?

I also notice that your website is multisite and you are probably activating Toolset Plugin on the network, would you like to test if this issue will appear when Toolset plugins are not network-activated but just active on the subsite?

I can create a test server on our platform and give you access to reproduce the issue, would you like that?

If the issue is not reproduced on this test server, it is probably just an exception happening on your site, we'll need to take a Duplicator copy of your website for further analysis.

Let me know if you would like me to create the test server and if you would agree to share a Duplicator copy of your website.

#1602771
Views 2.9.4 and Slidedeck screenshot.png
Views 3.1.3 and Slidedeck screenshot.png

I set up a single-site instance using Local by Flywheel; installed Views 3.1.3 and Slidedeck 5.3.7. I left the default theme of TwentyTwenty active, and did not install any other plugins.

I went to Slidedeck -> Manage, then clicked "Create Slidedeck", then, on the next screen, I clicked "Create Slidedeck" in the right-box with the "Custom Content" heading.

At that point, the management screen loads, but the little dialog box that should appear under the "Slide 1" box on the top left does not appear. Clicking "Slide 1" does nothing; clicking "Add Slide" does nothing.

If I rollback to Views 2.9.4, it works as expected.

I've attached 2 screenshots. One is called "Views 2.9.4 and Slidedeck screenshot", which shows what I see when Views 2.9.4 is active (and shows how Slidedeck is supposed to work). The second is called "Views 3.1.3 and Slidedeck screenshot", and shows what I see when Views 3.1.3 is active. Notice the missing dialog.

Yes, please go ahead and create a test instance on your server. Thank you.

Here is the debug information for the test instance I created just for this testing:

{"core":{"Wordpress":{"Multisite":"No","SiteURL":"http:\/\/delete-me.local","HomeURL":"http:\/\/delete-me.local","Version":"5.4","PermalinkStructure":"\/%postname%\/","PostTypes":"post, page, attachment, revision, nav_menu_item, custom_css, customize_changeset, oembed_cache, user_request, wp_block, view, view-template, sd2_custom_slide, sdslide","PostSatus":"publish, future, draft, pending, private, trash, auto-draft, inherit, request-pending, request-confirmed, request-failed, request-completed"},"Server":{"jQueryVersion":"1.12.4-wp","PHPVersion":"7.3.2","MySQLVersion":"5.6.34","ServerSoftware":"Apache\/2.4.10 (Debian)"},"PHP":{"MemoryLimit":"256M","UploadMax":"1000M","PostMax":"1000M","TimeLimit":"900","MaxInputVars":"3000"}},"plugins":{"active_plugins":{"slidedeck\/slidedeck.php":{"Name":"SlideDeck","PluginURI":"https:\/\/slidedeck.com\/demo\/","Version":"5.3.7","Author":"SlideDeck","AuthorURI":"https:\/\/www.slidedeck.com","TextDomain":"slidedeck","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"SlideDeck","AuthorName":"SlideDeck"},"wp-views\/wp-views.php":{"Name":"Toolset Views","PluginURI":"https:\/\/toolset.com\/?utm_source=viewsplugin\u0026utm_campaign=views\u0026utm_medium=plugins-list-full-version\u0026utm_term=Visit plugin site","Version":"2.9.4","Author":"OnTheGoSystems","AuthorURI":"https:\/\/toolset.com","TextDomain":"wp-views","DomainPath":"","Network":false,"RequiresWP":"","RequiresPHP":"","Title":"Toolset Views","AuthorName":"OnTheGoSystems"}},"mu_plugins":[],"dropins":[]},"theme":{"Name":"Twenty Twenty","ThemeURI":null,"Author":"\u003Ca href=\u0022https:\/\/wordpress.org\/\u0022\u003Ethe WordPress team\u003C\/a\u003E","AuthorURI":null,"Template":"twentytwenty","Version":"1.2","TextDomain":null,"DomainPath":null},"extra-debug":{"views":{"views_template_loop_blog":0,"wpv_bootstrap_version":1,"wpv_custom_conditional_functions":[],"wpv_custom_inner_shortcodes":[],"wpv_debug_mode":"","wpv_debug_mode_type":"compact","wpv_map_plugin":0,"wpv_show_hidden_fields":"","wpv_saved_auto_detected_framework":"","wpv_codemirror_autoresize":"","wpv_enable_pagination_manage_history":true,"wpv_enable_parametric_search_manage_history":true,"support_spaces_in_meta_filters":0,"allow_views_wp_widgets_in_elementor":0,"default_user_editor":"basic","manage_meta_transient_method":"cron","default_wpa_editor":"basic"}}}
#1602793

I should also note; I just installed and activated Toolset Blocks 1.1.3 and deactivated WP Views on that new test site, and Slidedeck does not work with Toolset Blocks, either (exactly the same behavior I was seeing with Views 3.1.3 active). Thanks.

#1604003

Thank you for your feedback. With your screenshots, I was able to understand the issue better and I reproduced it on a clean install. I did not get the same Javascript errors though.

Our 2nd Tier will analyze this issue and we'll get back to you as soon as possible.

Thank you for your patience.

#1604555

It seems that there is a conflict between codemirror libraries loaded by Toolset and SlideDeck. The ticket is now escalated to our 2nd Tier for further analysis. I'll get back to you as soon as possible.