Viewing 18 posts - 1 through 18 (of 18 total)
  • Author
    Posts
  • #1118497

    I just noticed after moving some containers around on my homepage (that has been build for the past few years) that when I updated the page half of the content disappeared. This was a few days ago. Now I’m trying to rebuild the missing content and every time I try update the homepage it removes whatever I just added. Everything acts like its updating, but it ‘s not. I haven’t a clue where to start, but I’ve not added any new plugins in months. I’m hosted on WP Engine if that matters. I don’t know where to start here. Any help would be greatly apricated.

    • This topic was modified 5 years, 4 months ago by childproofer.
    #1118575

    Update – Working in a staging area now and after deactivating ALL plugins I still lose nearly all content on the page once I click update. I’m not removing these items, they just disappear. I’m still testing to try and narrow things down but it doesn’t seem to be happening on Post.

    #1118588

    Hi,

    Please post us your login credentials (in the “private data” field), so we can take a look at your backend.

    1. Install and activate ” Temporary Login Without Password “.
    2. Go to ” Users > Temporary Logins ” on the left-side menu.
    3. Click ” Create New “.
    4. Add the email address for the account ( you can use (Email address hidden if logged out) ), as well as the ” Role ” making that the highest possible and the expiry about four days
      ( do be sure that we have enough time to debug ).
    5. Click ” Submit “.
    6. You’ll now have a temporary account. Please provide us here in the private section the URL, so we can login and help you out.

    When your issue is fixed, you can always remove the plugin!
    If you prefer to not use the plugin, you can manually create an admin user and post the login credentials in the “private data” field.

    Best regards,
    Basilis

    #1118592

    Just replied. Thanks.

    #1118598

    From my testing this afternoon it seems ONLY the homepage is being affected. I can’t get any other page or post to do this.

    #1118669

    Hi,

    Thank you for the update.

    Did you add any custom html in that page? Please make sure that the tags are closed properly. And set the builder to debug mode so that we can inspect the shortcodes directly.

    // https://kriesi.at/documentation/enfold/intro-to-layout-builder/#debug-mode

    Best regards,
    Ismael

    #1118750

    That is the strange part- this page was built 3-4 years ago and hasn’t been touched since. I’ve added the code to my child theme functions.php file.

    #1118754

    I have a copy of the site running on a staging server that you can do whatever you want. It’s a test site so feel free to edit as needed. The login URL is in the private section.

    #1119006

    Hi,

    Thank you for the update.

    Can you set the user role to admin? We can’t access the post revisions.

    I think this part is the problem.

    
    <p style="text-align: center;"><strong><span style="color: #f05a1a;"><font size="4">I AM THE ONLY INSPECTOR IN LOUISVILLE KY THAT LIMITS THEIR WORKLOAD TO ONE INSPECTION A DAY.  THIS ALLOWS ME TO TAKE THE NECESSARY TIME NEEDED TO GIVE YOU A HOME INSPECTION THAT IS SECOND TO NONE.</span>  </strong></p>
    
    

    The font tag is not closed properly.

    <font size="4">
    

    Best regards,
    Ismael

    #1119008

    I’m showing your user is already set to Admin. https://imgur.com/GLftOVj

    #1119141

    I backed up the live site with a fresh backup, completely deleted that element of the page (the one with the font tag) and saved it. Everything but the top 3 containers disappeared after the refresh.

    #1119554

    Hi,

    Thank you for the update.

    Did you disable revision for this site? Please enable that option back because we won’t be able to repeatedly test the page without revisions.

    // https://woorkup.com/disable-limit-wordpress-post-revisions/

    Best regards,
    Ismael

    • This reply was modified 5 years, 4 months ago by Ismael.
    #1119750

    Revisions have been turned on. Once the page is changed, they will show. Once any change is made, most of the page gets erased.

    #1120140

    Hi,

    I can’t seem to restore the page using the revisions. Did you optimize the database recently? It must have deleted the existing revisions. And I also forgot to save the page as template, so I couldn’t go back to the previous layout.

    Have you tried to re-create that page from scratch? It might be necessary because there are excessive use of html in that page like nested em and strong tags, which is somewhat repetitive. There are also multiple nested span tags with different style attributes, which could have been combined into one. I am referring to the following markup for example. There are numerous instance of these all over the page.

    
    <p style="text-align: center;"><strong><span style="color: #f05a1a;"><span style="font-size: large;">I AM THE ONLY INSPECTOR IN LOUISVILLE KY THAT LIMITS THEIR WORKLOAD TO ONE INSPECTION A DAY.  THIS ALLOWS ME TO TAKE THE NECESSARY TIME NEEDED TO GIVE YOU A HOME INSPECTION THAT IS SECOND TO NONE.</span></span><span style="font-size: large;">  </span></strong></p>
    
    

    You should consider recreating that page from scratch and try to structure the page without using unnecessary nested tags.

    Best regards,
    Ismael

    #1120158

    I understand, but can anyone explain how ‘excessive’ markups would cause 2/3 of a page that was created years ago just disappear if you try to do change anything on any of the elements. I’ve already tried to remove that line of code all together and it just deletes everything on the refresh.

    #1120163

    Hey!

    . I’ve already tried to remove that line of code all together

    The markup in that example is actually correct but some of the tags are unnecessary. For example, there are multiple span stags with different style attribute and there are also empty ones. You can restructure that markup like this.

    
    <p style="text-align: center; color: #f05a1a; font-size: large;"><strong>I AM THE ONLY INSPECTOR IN LOUISVILLE KY THAT LIMITS THEIR WORKLOAD TO ONE INSPECTION A DAY.  THIS ALLOWS ME TO TAKE THE NECESSARY TIME NEEDED TO GIVE YOU A HOME INSPECTION THAT IS SECOND TO NONE.</strong></p>
    .

    And relying on inline styling is not recommended because it’s a hassle to maintain.

    understand, but can anyone explain how ‘excessive’ markups

    If you forget to close even one of those tags, the content of the advance layout builder will break. And that’s probably what is happening in that page right now. I tried to check every elements in the page, but I can’t really see what’s missing because of the nested tags.

    Best regards,
    Ismael

    #1120164

    I appreciate the try. The frontpage was due a facelift anyway so I guess now is a perfect time.

    #1120276

    Hi childproofer,

    Yes, sometimes it’s easier to build a new page from the scratch and use it instead. Please let us know if you need any more help.

    Best regards,
    Victoria

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