Viewing 30 posts - 1 through 30 (of 36 total)
  • Author
    Posts
  • #1340125

    Hi
    We have a very big problem with Enfold and Advanced Layout Builder.
    We wanted to change text in a portfolio entry, but when we save the entry the changes disappear.
    After that we wanted to save the portfolio entry as a template to recreate the portfolio entry, but the template also disappears after saving or exiting the entry.
    We disabled all plugins but the problem still persists.
    Could you please help us? See the login data in the private content section.
    Thanks very much.
    Best regards
    Mike

    #1340144

    Hey Michael,

    Please enable debug mode so that we can copy the content to a test post: https://kriesi.at/documentation/enfold/intro-to-advanced-layout-builder/#debug-mode. We can do it for you if you give us permission to do so.

    Best regards,
    Rikard

    #1340149

    Hi Rikard
    Ok, we added the following code to our functions.php of the child theme:

    //set builder mode to debug
    add_action('avia_builder_mode', "builder_set_debug");
    function builder_set_debug()
    {
      return "debug";
    }

    Thanks very much.
    Best regards
    Mike

    #1340228

    Hi Mike,

    Thanks for that. I created a test post and copied all the content over. The problem is coming from the Text Block element, and it might be the smilies which are causing it. The third block I copied had a smiley in it and the builder would not accept it at first, but it worked fine once I removed the smiley. Could you try copying over the rest of the content as well, and remove any smilies you might have in the content please? If that works as expected, then let’s look at why the smilies are not working.

    Best regards,
    Rikard

    #1340253

    HI Rikard
    Thanks very much for your analysis of the problem.
    I edited the portfolio entry, removed all smilies and it worked!
    But why it is not possible to use smilies?
    We already had created another ticktet for that and there Yigit wrote, that this should be possible:

    But it seems like you can save the content with smilies/emojis exactly once and then never again.
    It’s probably an Enfold bug, isn’t it?
    Best regards
    Mike

    #1340336

    Hi Mike,

    Thanks for the update. I’m not sure if it’s a theme problem or not yet, but we’ll find out for sure. Could you let me know exactly how you are adding the smilies please?

    Best regards,
    Rikard

    #1340467

    Hi Rikard
    First, i go for example to this page and search for the smiley I need:
    https://www.w3schools.com/charsets/ref_emoji.asp
    Then, I go into the portfolio entry (with Advanced Layout Builder activated), open the textbox, switch to the “Text” tab and insert the code, i.e.
    <p>This is a test 😛</p>
    After that, I switch back to the “HTML” tab, save the textbox and then save the portfolio entry.
    Best regards
    Mike

    #1340513

    Hi,

    Thanks for the update. I created a test page with all the text content from the problem block, along with a smiley at the bottom. It’s working as it should though, so maybe it’s due to some specific smilies. Do you remember the exact one you used before?

    Best regards,
    Rikard

    #1340567

    Hi Rikard
    In this portfolio entry we used the smiley with the code &#x1f603;
    Also in another portfolio entry we have the problem that we cannot save it again. There we have smileys with the following codes:
    &#x1f60a;
    &#x1f609;
    &#x1f615;
    You can look into this post, see private content section.
    Best regards.
    Mike

    #1340631

    Hi,

    Thank you for the info.

    You may need to create a custom shortcode for the emojis so that you don’t have to add the code directly in the text block or use a plugin such as the following.

    // https://wordpress.org/plugins/emoji-shortcode/

    If you want to create a custom shortcode, this documentation should help.

    // https://codex.wordpress.org/Shortcode_API#The_Shortcode_API

    Best regards,
    Ismael

    #1340752

    Hi Ismael
    We looked into this plugin emoji-shortcode. It is not very cool, because there are not all smilies and we do not see the Dec or Hex code of the smiley.
    Can you recommend another plugin which is better?
    But either way, this problem with the emoji’s is a bug in Enfold, isn’t it?
    Best regards.
    Mike

    #1340848

    Hi,

    Thanks for the update. I can’t see any problems on the new page you linked to, the Text Block element opens and is editable. What exactly are you doing to get the error we saw before? I also created a test post, and that seems to be working as expected as well.

    We need to be able to reproduce the problem, in order to tell you what the problem is.

    Best regards,
    Rikard

    #1340858

    Hi Rikard
    I don’t know, what is the problem, but you said, that the smileys are a problem and that we should use shortcodes for smilies, see this posts here:

    So, let me know, if this is a bug of Enfold that we have problems with smileys…
    Best regards
    Mike

    #1340876

    Hi Mike,

    Thanks for the update. We’ll look into this further, and please let us know if this problem should happen again.

    Best regards,
    Rikard

    #1340890

    Hi Rikard
    Just another idea how you can reproduce the problem.
    Create a portfolio entry with a text box and an image for example.
    There enter text with smileys. Use the smileys we also used:

    &#x1f603;
    &#x1f60a;
    &#x1f609;
    &#x1f615;

    Then save the text box and the portfolio entry.
    Then reopen the portfolio entry, edit the text box, save the text box and the portfolio entry.
    And here comes the problem. After the first save with smileys it was never possible to save the portfolio entry again. The changes alwas were undone after saving.
    Best regards
    Mike

    #1340904

    And even if you check that checkbox on enfold options : Peformance – see link
    the smileys work on my end too:
    https://webers-testseite.de/textbox-with-smiley/

    #1340919

    It makes no difference if we activate or deactivate this option.

    I tested it again.

    Like that I could reproduce the problem:

    Like that, all is ok, the text with the smilies is there.

    But when you edit the text again and save the portfolio entry, the change will be lost every time, you are not able to change the text anymore.

    If you switch back to “HTML” tab at the first time, the saving will also not work at the first time.

    #1340922

    By the way
    When I do the same like in the last post without the Advanced Layout-Builder, it works fine, I always can save the text with changes again, also with smilies.
    So, for me this is an Advanced Layout-Builder bug.
    Best regards
    Mike

    #1340932

    i did what you write – copied your text ( only the “umlaute” are wrong from the beginning ) saved – and edit the text block again. The smileys stay the same.
    https://webers-testseite.de/portfolio/smileys/

    can you have a look into your wp-config.php what kind of charset is defined inside.

    • This reply was modified 2 years, 9 months ago by Guenni007.
    #1340933

    Okey… and you can also edit the text after (for examle changing a word) and save it and the text will keep the changed word?

    #1340935

    on the very bottom of your text i placed afterwards another sentence.
    And it is not dependent if i then edit on text mode or visible mode !

    #1340939

    did you look into your wp-config.php ?
    allthough my setup of the istallation above has :
    define('DB_CHARSET', 'utf8'); and it works
    some users in the net tell that a switch to :
    define('DB_CHARSET', 'utf8mb4'); can help to resolve such trouble

    #1340941

    It is very special.
    On my side this does not work, the first save in the text mode works, after that, every save fails and returns to the old text values.
    See my video, I made just now:
    [video src="https://support.yourchoice.ch/upload/smileys.mp4" /]

    #1340942

    I changed from
    define('DB_CHARSET', 'utf8');
    to
    define('DB_CHARSET', 'utf8mb4');
    Same problem…

    #1340944

    the film would not have been necessary – I believe you as well, – but if it is not reproduced in my case, it can’t be due to Enfold.
    What I observe in the film, however, is that it also takes a very long time until the page rebuilds. Have you tried to increase the memory limits of the installations. Could also be done via wp-config.php.

    
    define( 'WP_MEMORY_LIMIT', '96M' );
    define( 'WP_MAX_MEMORY_LIMIT', '256M' );
    #1340946

    Yes, I am sure that you believe me…but just wantet to show it, because it is unbelievable ;-)
    I just looked under Site Health the Server and it looks good I think:

    https://support.yourchoice.ch/upload/WordPress_Site_Health_Server.jpg

    What can also be the cause of this slow rebuild?
    But anyway, do you think that can be the reason for the smiley problem?

    #1340948

    i see you are still under php 7.4 – maybe you update to the php8

    Nimm mal besser die zweite liste ( constants ) raus – die absoluten pfade könnten jemand auf dumme gedanken bringen.

    Hast du besondere Einträge in der htaccess vorgenommen ?

    EDIT: es ist ja nicht nur das mit den Smileys – der hinzugefügte Text ist nach dem erneutem Speichern auch nicht mehr da !

    #1340951

    Some Caching Plugins can hamper a correct saving – maybe you check that first – without caching tools ( except enfold – that is running on my installation – and did not hamper saving texts )

    #1340952

    I do not use any caching plugin and the .htaccess file also looks normal, there are the default WordPress entries and some Redirect for people which use links of the old website

    #1341457

    Hi,

    Thanks for the update. I’m still not able to reproduce this problem, I checked on both a local installation and on your actual site. Please see private.
    Could you share the text you are using in the video please? You can used pastebin for example. The problem might not be the smilies, so we would need to check the text you are using as well.

    Best regards,
    Rikard

Viewing 30 posts - 1 through 30 (of 36 total)
  • The topic ‘Very big Problem with Enfold / Advanced Layout Builder’ is closed to new replies.