New Landing How can we help? Themeforest Theme Support Dante Swift Page Builder not working

Viewing 15 posts - 1 through 15 (of 21 total)
  • Posted in: Dante
  • #216471
    Jackcoldrick
    Member
    Post count: 84

    Hi guys,

    I’m getting this error in the Chrome Developer Console when I attempt to open the Swift page builder:

    Uncaught TypeError: switchEditors.switchto is not a function

    It’s occuring on page-builder.js?ver=2.0:528

    Do you know what might be causing it?! I don’t understand why it is not working.

    Thanks,

    J

    #216474
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Make sure everything is updated to the latest version, and try deactivate all of your plugins to see if that fixes the issue

    – Kyle

    #216476
    Jackcoldrick
    Member
    Post count: 84

    Hi Kyle,

    I’ve deactivated all plugins and no joy. It was working on my other server….I’m wondering could it be to do with forcing HTTPS on wp-admin?

    #216477
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    If you’re using ssl you’ll need the https plugin

    – Kyle

    #216478
    Jackcoldrick
    Member
    Post count: 84

    Could you please provide me a link? thanks

    #216479
    Kyle – SUPPORT
    Moderator
    Post count: 35880
    #216480
    Jackcoldrick
    Member
    Post count: 84

    Hi Kyle,

    thanks for providing me with that link but I’ve installed that plugin and I’m still experiencing the same problem. Could it be anything else? I don’t know why it was working on my other server and not on this one.

    thanks,

    jack

    #216483
    Jackcoldrick
    Member
    Post count: 84

    I’m under a lot of pressure to get this working guys so I’d appreciate if you’d have any further suggestions. I was working on the site on a development server. I was not using SSL on this server and it was working fine. I’ve since moved it to a preproduction server and it is using SSL and now I’ve noticed the Swift page builder just will not work. This is a big issue for me as my client needs this in order to update their pages.

    #216489
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    You shouldn’t get this with the latest Dante version, that problem was already fixed in 3.16 version.
    Can you provide admin access to have a look?

    -Rui

    #216490
    Jackcoldrick
    Member
    Post count: 84

    Hey Rui,

    I was using 2.82 on my development environment and this problem was not present. I agree that I should update the theme but I don’t see how the problem would just come out of the blue for me. I built the entire site without upgrading to 3.16 and used the SPB frequently throughout.

    I’m at a loss.

    #216493
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    The problem started because of the WordPress 4.0 , probably you didn’t update it in the other server.
    The correction is simple if you don’t wish to upgrade.

    Inside the file page-builder.js located at Dante/Swift-framework/page-builder/assets/js

    Find this line of code

    if ( switchEditors != undefined ) switchEditors.switchto( $( '#content-tmce' ).get( 0 ) );

    and replace by this one

    if ( switchEditors != undefined ) $( '#content-tmce' ).get( 0 ).click();

    Also this problem only happens when you are in Classic Editor in the Text tab if you go to the visual tab first and then switch to the Swift Page Builder it will be fine.

    -Rui

    #216497
    Jackcoldrick
    Member
    Post count: 84

    how do you go to the visual editor first Rui?

    #216502
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Clicking in the tabs on the right in my screenshot.
    https://www.dropbox.com/s/upvsfxngvihdmis/Screenshot%202015-09-25%2015.11.22.png?dl=0

    -Rui

    #217326
    Nightwhisper
    Member
    Post count: 6

    greetings!
    Same error (the file you pointed is right) and the site is http://www.dusio.net
    swiftbuilder doesnt work when I click it disappear.
    The gallery on front stopped working too.

    #217876
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi @Nightwhisper,

    Will need admin access to check it.
    Use the private reply.

    -Rui

Viewing 15 posts - 1 through 15 (of 21 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register