-
AuthorPosts
-
July 14, 2019 at 3:29 pm #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.
July 14, 2019 at 9:49 pm #1118575Update – 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.
July 14, 2019 at 10:18 pm #1118588Hi,
Please post us your login credentials (in the “private data” field), so we can take a look at your backend.
- Install and activate ” Temporary Login Without Password “.
- Go to ” Users > Temporary Logins ” on the left-side menu.
- Click ” Create New “.
- 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 ). - Click ” Submit “.
- 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,
BasilisJuly 14, 2019 at 10:22 pm #1118592Just replied. Thanks.
July 14, 2019 at 10:48 pm #1118598From my testing this afternoon it seems ONLY the homepage is being affected. I can’t get any other page or post to do this.
July 15, 2019 at 4:39 am #1118669Hi,
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,
IsmaelJuly 15, 2019 at 12:23 pm #1118750That 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.
July 15, 2019 at 1:13 pm #1118754I 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.
July 16, 2019 at 1:22 am #1119006Hi,
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,
IsmaelJuly 16, 2019 at 1:29 am #1119008I’m showing your user is already set to Admin. https://imgur.com/GLftOVj
July 16, 2019 at 1:05 pm #1119141I 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.
July 17, 2019 at 12:06 pm #1119554Hi,
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.
July 18, 2019 at 2:49 am #1119750Revisions have been turned on. Once the page is changed, they will show. Once any change is made, most of the page gets erased.
July 19, 2019 at 11:24 am #1120140Hi,
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,
IsmaelJuly 19, 2019 at 12:34 pm #1120158I 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.
July 19, 2019 at 12:59 pm #1120163Hey!
. 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,
IsmaelJuly 19, 2019 at 1:03 pm #1120164I appreciate the try. The frontpage was due a facelift anyway so I guess now is a perfect time.
July 19, 2019 at 5:14 pm #1120276Hi 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 -
AuthorPosts
- You must be logged in to reply to this topic.