-
AuthorPosts
-
February 11, 2022 at 10:53 am #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
MikeFebruary 11, 2022 at 12:27 pm #1340144Hey 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,
RikardFebruary 11, 2022 at 12:35 pm #1340149Hi 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
MikeFebruary 12, 2022 at 5:13 am #1340228Hi 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,
RikardFebruary 12, 2022 at 10:39 am #1340253HI 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
MikeFebruary 13, 2022 at 6:12 am #1340336Hi 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,
RikardFebruary 14, 2022 at 12:16 pm #1340467Hi 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
MikeFebruary 14, 2022 at 3:25 pm #1340513Hi,
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,
RikardFebruary 14, 2022 at 6:56 pm #1340567Hi Rikard
In this portfolio entry we used the smiley with the code😃
;
Also in another portfolio entry we have the problem that we cannot save it again. There we have smileys with the following codes:
😊
;
😉
;
😕
;
You can look into this post, see private content section.
Best regards.
Mike- This reply was modified 2 years, 9 months ago by YourChoice Informatik GmbH.
February 15, 2022 at 5:35 am #1340631Hi,
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,
IsmaelFebruary 15, 2022 at 5:21 pm #1340752Hi 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.
MikeFebruary 16, 2022 at 7:08 am #1340848Hi,
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,
RikardFebruary 16, 2022 at 8:10 am #1340858Hi 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
MikeFebruary 16, 2022 at 9:55 am #1340876Hi Mike,
Thanks for the update. We’ll look into this further, and please let us know if this problem should happen again.
Best regards,
RikardFebruary 16, 2022 at 10:34 am #1340890Hi 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:😃
;
😊
;
😉
;
😕
;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
MikeFebruary 16, 2022 at 1:48 pm #1340904And 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/February 16, 2022 at 4:02 pm #1340919It makes no difference if we activate or deactivate this option.
I tested it again.
Like that I could reproduce the problem:
- Create a portfolio entry
- Insert a text-box in the portfolio entry
- Switch to “Text” tab
- Insert a text with smilies (you can copy my text from here: https://support.yourchoice.ch/upload/text_with_smilies.txt)
- Save the text-box
- Save the portfolio entry
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.
February 16, 2022 at 4:32 pm #1340922By 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
MikeFebruary 16, 2022 at 5:40 pm #1340932i 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.
February 16, 2022 at 5:43 pm #1340933Okey… and you can also edit the text after (for examle changing a word) and save it and the text will keep the changed word?
February 16, 2022 at 5:45 pm #1340935on 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 !February 16, 2022 at 5:54 pm #1340939did 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 troubleFebruary 16, 2022 at 6:00 pm #1340941It 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" /]February 16, 2022 at 6:06 pm #1340942I changed from
define('DB_CHARSET', 'utf8');
to
define('DB_CHARSET', 'utf8mb4');
Same problem…February 16, 2022 at 6:06 pm #1340944the 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' );
February 16, 2022 at 6:19 pm #1340946Yes, 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?- This reply was modified 2 years, 9 months ago by YourChoice Informatik GmbH.
February 16, 2022 at 6:24 pm #1340948i 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 !
February 16, 2022 at 6:44 pm #1340951Some 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 )
February 16, 2022 at 6:48 pm #1340952I 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
February 20, 2022 at 10:26 am #1341457Hi,
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 -
AuthorPosts
- The topic ‘Very big Problem with Enfold / Advanced Layout Builder’ is closed to new replies.