Home>Support>WPML/Page builder compatibility help?

WPML/Page builder compatibility help?

Notice: This thread is over two years old; the information may be outdated. Please consider creating a new thread if you require free support. If you have an active SiteOrigin Premium license, you can email our premium support desk at [email protected].

Hi,

We are currently experiencing a problem when translating pages using WPML and Page builder and were wondering how compatible your system is with WPML? We have spoken to WPML about the issue to see if they can fix but as of yet they haven’t come up with a solution and have advised us to get in contact with you.

WPML seem to think that your plugin/page builder, isn’t compatible with their system? To outline my issue, when I go to translate a page, the page duplicates itself creating a new page in the desired language but the page builder content gets dropped and goes back into the text view. Do you know why this might happen?

Thanks for any advice

This is our free support forum. Replies can take several days. If you need fast email support, please purchase a SiteOrigin Premium license.

  1. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hi Steph

    Thanks for reaching out :)

    We’re part of WMPL’s compatibility program: https://wpml.org/documentation/plugins-compatibility/using-wpml-siteorigin/.

    Please, try running a test with only Page Builder by SiteOrigin, the Classic Editor plugin if you’re using that and WPML Multilingual CMS activated. Temporarily deactivate all other plugins. Does the problem persist in this configuration?

  2. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    Thank you for replying so quickly.

    I have giving the information you have provided to my development team so as soon as they have tried this I will come back to you. I know that we have had a few issues lately and I’m grateful for any help or advice you can offer.

    I will be back in touch again tomorrow.

    Best regards

    Steph

  3. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Sure :) Let us know how the conflict test goes.

  4. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    We have deactivated all of the plugins that are not required but we are still seeing issues on certain pages (I have a screenshot but not sure how I attach this here?) and any new pages we create work fine. It means we can not dupe the pages we need to dupe for our translation agency to go into the cms and flow in their language type. Does this make sense?

    Many thanks again for your help Andrew.

    Kind regards
    Steph

  5. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hi Steph

    Thanks for the feedback :)

    Did you deactivate all plugins except for Page Builder and WPML Multilingual CMS and then test? I ask because that’s not necessarily the same as all plugins not required.

    https://imgur.com/upload is an easy way to send images.

  6. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    The only thing that is left is our own custom post types. I will send you the screenshot via the link you have suggested.

    Kind regards

  7. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    When the page is duplicated and Page Builder breaks, please open your browser’s developer console and let us know the errors seen there, if any, by taking a screenshot. Here is how:

    https://codex.wordpress.org/Using_Your_Browser_to_Diagnose_JavaScript_Errors#Step_3:_Diagnosis

  8. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    It is blank. no errors or warnings logged.

    Kind regards

  9. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    The next step might be to enable WP_DEBUG in your WordPress wp-config.php file as well as WP_DEBUG_LOG.

    https://codex.wordpress.org/Debugging_in_WordPress

    define( 'WP_DEBUG', true );
    define( 'WP_DEBUG_LOG', true );

    Here is how to edit your wp-config.php file: https://www.wpbeginner.com/beginners-guide/how-to-edit-wp-config-php-file-in-wordpress/

    Once debug and debug log are activated, recreate the issue and then using FTP, check the debug.log file located in the WordPress /wp-content/ folder. The log file might contain a useful error.

  10. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    We get this:

    https://pastebin.com/raw/f6n1yh5W

  11. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Thanks. Please can you also ask WPML to escalate this to a technical support tech for inspection. I’ll do what I can on our side to take a look but in this situation they’re offering a premium service and we’re on the free end of things. The support tech that previously said the two plugins aren’t compatible isn’t aware of WPML’s compatibility program which we’re a part of. Ideally someone at a senior level needs to take a look and investigate for you.

  12. 6 years, 3 months ago Steph Derby

    Thank you Andrew for all your help.

    We have now reached out to WPML again with your advice.

    Thanks again and much appreciated.

    Regards
    Steph

  13. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Super, thanks.

  14. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    WPML have come back to us and said they think the issue can be replicated also without WPML, as they can replicate it at the default language. If you created a normal page with some page builder widgets, and then clicked on the button “Revert to editor”, the page builder elements will disappear and you will get the code in the normal editor, and if you tried to revert back to the page builder editor, you will not get your elements back again. they have asked that we now speak with you again to check why this has happened, and if you have any steps that could help to reload the elements again from the standard editor to the page builder editor?

    Many thanks

    Steph

  15. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hi Steph

    There aren’t any specific steps beyond the automatic function that exists. Please, send us a JSON export of a page displaying this behavior. From Page Builder click Layouts > Import/Export and Download the layout. You can send it to use via WeTransfer or the cloud host of your choice, Dropbox, Drive etc. Thanks.

  16. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Here is a demo of tab switching with the latest version of Page Builder and WPML Multilingual CMS Version 4.1.1:

  17. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    Please see a download link showing a page in question:

    Download link
    https://wetransfer.com/downloads/a7960713ab6359f708dc7041582649f120190404151102/c6ee07c12f7463b6c763b82b1b35086e20190404151102/b1df83

    Kind regards
    Steph

  18. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Thanks.

    How are these widgets added? Via a plugin, if so, which plugin? If they’re added via your theme, which theme?

  19. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    All done by SiteOrigin Widgets Bundle.

    Kind regards

  20. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Please, send a screenshot showing that test page in Page Builder. Thanks.

  21. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    Here is a screenshot.

    Can you see this ok?

    Thanks

  22. 6 years, 3 months ago Steph Derby

    How can I attach a file on this thread?

  23. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    The forum doesn’t support attachments but you can upload to any sharing site and send a link. https://imgur.com/upload is an easy way to send images.

  24. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    I posted the screenshot on the link you have provided:

    https://imgur.com/m3m9lku

    Hope you can see it ok?

    Many thanks

  25. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    The screenshot is very low res. I can’t make out the contents.

    Did you use the core WordPress Text widget and a legacy (old) Page Builder Button widget? The widgets show up as not found on my side.

    Page Builder supports WPML Multilingual CMS but doesn’t support String Translation, is this content translated inline?

  26. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Here is what I see when I try to import the layout sent.

  27. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Here is a test you can try.

    1. Create a test page.
    2. Download this test layout: https://siteorigin.com/wp-content/uploads/2019/04/test.json.zip.
    3. Unzip the layout and upload to the page via Page Builder > Layouts > Import/Export > import the layout.

    The widgets used in that layout are as follows:

    SiteOrigin Button Widget – part of the SiteOrigin Widgets Bundle.

    SiteOrigin Editor Widget – part of the SiteOrigin Widgets Bundle.

  28. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    When we reverted the JSON file that you sent to us to put back, it didn’t work

    What is the expected behaviour even if the widget is missing, should this function still work?

    Kind regards

  29. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Are the widgets missing in the JSON layout I sent you?

    I can check with the team but reverting with missing widgets doesn’t appear to follow the normal behaviour seen in my video above.

  30. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Please, send a link to the site you’re working on so we can take a quick look at the front end setup. Thanks.

  31. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    https://guestlinev2.testingcreative.co.uk/

    Kind regards

  32. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Thanks for the URL.

    * Did the widgets in the layout I sent show up as missing?
    If so, the SiteOrigin Widgets Bundle isn’t installed or activated or the Editor and Button widgets are disabled at PluginsSiteOrigin Widgets.

    * Please, can you deactivate your optimization plugin so we can see what’s being loaded in the site.

    * Please, could you send a screenshot of the Plugins page showing Page Builder and the Widgets Bundle so I can see the version numbers and descriptions there. I’m not yet following why the widgets at the above URL are prefixed with “cn” as our widgets aren’t.

  33. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    Did the widgets in the layout I sent show up as missing?

    If so, the SiteOrigin Widgets Bundle isn’t installed or activated or the Editor and Button widgets are disabled at PluginsSiteOrigin Widgets: the widgets that we use are bespoke / custom built hence why they have CN at the front. Using the SiteOrigin Build guides

    Please, could you send a screenshot of the Plugins page showing Page Builder and the Widgets Bundle so I can see the version numbers and descriptions there. I’m not yet following why the widgets at the above URL are prefixed with “cn” as our widgets aren’t.

    All caching / optimisation should now be off.

    Many thanks

  34. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hi Steph

    When you get a moment, please could you check your reply here on the forum. Did you perhaps attach a screenshot via email? The forum doesn’t support attachments, unfortunately. If you’d like to work over email and have us login to your site, that’s certainly something we support via our SiteOrigin Premium offering.

    My suggestion to narrow down the issue is as follows:

    1. Install the SiteOrigin Widgets Bundle.
    2. Create a layout with SiteOrigin widgets from the Widgets Bundle, non-bespoke widgets.
    3. Check to see if the switching issue still occurs.
    4. If the switching issue still occurs, check to see if a working baseline is available. That test would involve switching to Twenty Seventeen theme and deactivating all plugins except for those authored by SiteOrigin. Then build a simple layout using SiteOrigin non-bespoke widgets and see if the issue still happens.

    Both switching between Text and Page Builder and WPML duplication work on our local and demo installs. The test above would be to try and get to that working baseline we know is available. If the baseline can be found, we’d then add back elements until the issue occurs again thereby locating the issue. This test is only worth completing if the working baseline can be found.

  35. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    Thanks for your continued help.

    I am having trouble sending screenshots so if you don’t mind communicating via email, that would be great then I can also cc in my colleague Sean who is working directly on the website itself.

    My email is: Private Snippet

    Many thanks

  36. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Hi Steph

    It isn’t possible to send attachments on the forum. You can upload images to Dropbox, Google Drive, Microsoft OneDrive, iCloud, Imgur or any similar sharing site and send us the link.

    Our free support offering is limited, this is necessary to remain viable. If you’d like to move over to email and have us login to your site, please consider a SiteOrigin Premium license.

  37. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    I work from Google drive so just point me int he direction for this and I can share screenshots with you.

    Many thanks

  38. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Right click on the file you’d like to share and click the Share link.

  39. 6 years, 3 months ago Steph Derby

    Hi Andrew,

    Thanks for your help so far. We are going to do a clean install on WordPress to see if this makes any difference. I will be back in touch shortly to let you know either way.

    Many thanks
    Steph

  40. 6 years, 3 months ago Andrew Misplon
    Hi, I Work Here

    Sure.

    Try starting with:

    Twenty Seventeen theme
    Page Builder by SiteOrigin
    WPML Multilingual CMS

    With only the above installed, confirm the functionality is working as per my video posted above last week. That’s the baseline, it’s important to establish the baseline before continuing.

Replies on this thread are closed. Please create a new thread if you have a question, or purchase a SiteOrigin Premium license if you need one-on-one email support.

Get The Most Out of SiteOrigin with SiteOrigin Premium

Find Out More