Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1211495

    Hi Kriesi Support Team,

    CURRENT INSTALLATION
    WP version: 5.4.1 (es_ES)
    PHP version: 7.2.29
    Enfold version: 4.7.4
    Plugins: ALL deactivated, except the “Classic Editor”

    BRIEF HISTORY
    WordPress + Enfold was working fine with this configuration:
    WP version: 4.5.3 (es_ES)
    PHP version: 5.6.40
    Enfold version: 3.7.1

    But my customer’s hosting company (Siteground) forced WP to make an upgrade, even when we had installed a plugin for this not happening !! And from that moment started all the problems.

    First, the Advanced Layout Editor was not loading contents at all with an eternal spinning wheel. So I had to upgrade the Enfold theme, and that fixed that problem.

    But since that update, editing the content for any page is being HELL. The point is that when you update one block of content, another one dissapears, with no logic at all. This makes the web unmanageable!!

    STEPS TO REPRODUCE THE PROBLEM
    You can test it in our production web if you want (we have a backup) or downloading the Web+Database backup I have prepared for you.

    You can go to “Cumpleaños – Prueba” page. You’ll see that there are 4 main blocks:
    GREY (slider)
    PURPLE
    BLUE
    YELLOW

    1) Change text in first block of PURPLE. Add a letter, for example.
    “¿Buscas el mejor cumpleaños?” to “¿Buscas el mejor cumpleañoss?”
    2) Click on update the page (“Actualizar”).
    You’ll see that YELLOW main block has dissapeared.
    3) On BLUE block, move “Acordeón” from 3/5 to any of the 1/5.
    4) Click on update the page (“Actualizar”).
    You’ll see that BLUE block now is empty.
    5) On PURPLE block, move “Easy Slider Comentarios”, from 2/3 to 1/2.
    6) Click on update the page (“Actualizar”).
    You’ll see that BLUE block has dissapeared and there is only one block at PURPLE block.

    This is just an example, but this hell is happening in every other page our customer edits. So the only way that he has made its way is by saving content in templates, before everything converts in a mess.

    OTHER CONSIDERATIONS
    1. Recover the content of the page
    If you want to recover the content of the example page:
    1) Remove all blocks.
    2) Add the next Templates (“Plantillas” button) in this order:
    Cumple1
    cumple2
    cumple3
    xxxfantasma
    3) Update the page and you’ll have it as when you started.

    2. Debug mode
    I have turned on the Debug mode, editing the functions.php, as it’s explained here:
    http://kriesi.at/documentation/enfold/enable-advanced-layout-builder-debug/
    So you can have more information when analyzing the problem.

    3. No plugins and last versions on everything
    To avoid guesses about a 3rd party element impacting here, I have:
    – Upgraded WP to the last version.
    – Installed the last version of Enfold (with no modifications except for the functions.php of previous point).
    – Deactivated ALL the plugins except for “Classic Editor”.

    4. Installed in my local setup
    I have tested everything in my own machine (IIS + PHP 7.3) and everythings works as bad as in production site (Apache + PHP 7.2). So I have deduced that it must be a WP + Theme thing.

    Hope you can help as I don’t know what else to do. Thank you!!

    #1211596

    Hey inBytes,

    Thanks for the detailed report. I see open html markup in your content, that is likely the reason as to why your elements are disappearing:

    <strong>¿Buscas el mejor cumpleaños?<strong>

    Please try correcting that and any other instances of open markup and it should work as expected after that.

    Best regards,
    Rikard

    #1211689

    Hi Rikard,

    Wow, now it turns out that Adam Levine (Maroon 5) is also working at Kriesi’s support… :P

    Thank you for your help, Rikard!! Now a whole world of support tickets open to my eyes with this same problem. I see that the oldest with this kind of problem is from September 2015, so I think this is something that Christian (Kriesi) or his team are not very willing to fix.

    I perfectly understand that a wrong html markup closure can give unpredictable results in a web page, but one thing is an unexpected behaviour, and another is this complete madness.

    It has no sense at all, that this (simplifying the code)…

    [av_heading heading='<strong>VENID A PROBAR GRATIS NUESTROS JUEGOSS<strong>'][/av_heading]

    … I mean, ‘a string between single quotes’, that is a perfectly formatted code in terms of “shortcode programming” gives as result the complete break of the page.

    If you want, don’t allow users to insert HTML markup in any text field that is not a WordPress rich content editor, or better, use Regular Expressions to inform the user of a bad formatted HTML markup, and not allow him to save.

    But letting him save without notices is at best a design flaw, if not a BUG.

    My customer has gone mad for a month to finish his website because of this. And you have to understand that even knowing basic HTML, you can make a mistake anytime (in HTML markup) that can lead you to destroy an entire page, or in other words, a work of hours !!

    Anyway, Rikard, I request you to do this test, please:

    1) Open “Cumpleaños – Prueba” in editor (I’m sending you the link in private content so it’s easier for you to reach the page).
    2) I have left you the page only with the YELLOW block in it (i.e. Template: xxxfantasma).
    3) Now we have here only one bad HTML markup closure. In: “VENID A PROBAR GRATIS NUESTROS JUEGOS”.
    4) Before editing, go down the page, and take a look at the code generated by the editor. You’ll see that there is a lot, so a vertical scroll bar is needed.
    5) Now click over the “VENID A PROBAR GRATIS NUESTROS JUEGOS” block, and fix the HTML markup. If you want, completely remove the “strong” tags. And click on Save (“Guardar”).
    6) Go down the page again and take a look at the shortcode editor.

    Now tell me that this can not be considered as a BUG. You can not condemn to a user (being a technical guy or not) to lose all his work just by this !!

    I tell you more.

    If you switch to “Standard Editor” (the blue button at the top of the Avia editor, in spanish: “Editor estándar”; SE from now on), you’ll find all this shortcode mess in the WordPress Rich Text Editor.

    So a user could think: OK, so I’ll fix it here (using the HTML tab), update the page, and then come back to “Advanced Layout Editor” (ALE from now on) to continue with my work.

    But it turns out that the changes made in SE are not reflected in the ALE. So I guess that SE code is only a copy of the underlying ALE programming, but with only the ALE -> SE sense and not the opposite.

    So well, a user will then return to the ALE to fix the problem. And I guess he will have only two options:
    1) Edit the wrong HTML markup block (NOT POSSIBLE, as you checked before).
    2) Delete the wrong HTML markup block, and create it again.

    But if you do the 2) option SAME THING HAPPENS !! Shortcode markup is reduced to the minimum and you lose everything.

    So, the only solution right now to fix a malformed HTML markup that is already saved is to fix it in the text field enabled via DEBUG code in functions.php.

    You still don’t see this as a BUG? Because I do !!

    Thank you Rikard.

    #1211755

    Hi,

    Wow, now it turns out that Adam Levine (Maroon 5) is also working at Kriesi’s support… :P

    I’m way more handsome than he is :D

    I totally agree with you that it is a bug, but it’s one that we have never found a solution for unfortunately. This is for sure the biggest flaw of the Enfold layout builder, and it creates problems for a lot of users. We are in the process of totally recreating the layout builder though, and that should hopefully remove problems like these. Until then we don’t really have a solution for you unfortunately, other than trying to close the markup properly.

    Best regards,
    Rikard

    #1211779

    Hi Rikard,

    Hahahaha, at the very least, I’m sure Adam Levine would want your brainpower… ;)

    Ok, so we have run into a Known Bug. So unlucky, but I guess that’s all I can support my customer.

    I’ll keep active the DEBUG mode just in case he may need to fix this problem in the future.

    Just one question, Rikard: is there any problem or any consideration that we must be aware of if we leave the DEBUG mode ON?

    Thanks for your understanding and great support!!

    #1211992

    Hi,

    Haha, he doesn’t need it since he’s famous :D

    There’s no problem in leaving debug mode active, unless you might think there could be a problem with your users accidentally editing the shortcode by mistake I guess. The function to activate debug mode is easily commented out though, in case you should see that as a problem.

    Sorry again for the problem, we’ll hopefully have this resolved in the reworked version of the Layout Builder.

    Best regards,
    Rikard

    #1212248

    I also have the same problem then if you use the tabs it becomes impossible to create one and delete the others

    #1212500

    Hi rvinformatica,

    Please open a new thread and include WordPress admin login details in private so that we can have a closer look at your site.

    Best regards,
    Rikard

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.