-
AuthorPosts
-
November 6, 2020 at 4:19 pm #31125LaraGuest
I’ve been having some issues in the post and page builder where I’ll complete my editing for a post in the “visual” tab of the editor, but when I go to preview it, blocks and sections are missing. This is incredibly frustrating because not only are they not in the preview, they are completely gone. I’ve tried many different ways to avoid this, and it seems like the problem is that I’m making my edits in the “visual” tab, but they aren’t getting transferred into the “text” tab. So, for example, I can have everything looking just the way I want it in the “visual” tab, and if I click on “text” and scroll down, some of the content will be missing. And then if I go back to the “visual” tab, that same content will then be gone, and there’s no way I can come up with for getting it back.
To deal with this, I’ve been doing a tiny bit of work, then previewing and saving to make sure that it’s actually saved, then doing a tiny bit more. This doesn’t always work, and I still have to redo parts, but at least it’s not an entire post that has to be redone at once.
Anyway, if you have any suggestions for how to make this stop happening, I would be eternally grateful. I have wasted SO much time redoing things, and while the post and page builder has done a few things to make my life easier, this makes me never want to use it again.November 6, 2020 at 4:49 pm #31127Jesse OwensKeymasterHi Lara-
Thanks for reaching out! That definitely sounds like an incredibly frustrating problem, and it’s one I haven’t seen before.
WordPress stores its autosave data in your browser using JavaScript, so my first guess would be that this is some kind of JavaScript conflict. If you can help us out by checking your browser’s error console while you’re editing a post, we might be able to determine what’s going on. Here’s a quick guide on how to check your browser’s error console:
Try the process you mentioned while your console is open- switch back and forth between the Visual and Text editors.
The usual suspects for a JavaScript conflict like this would be any plugin that adds some other functionality to your editor window. You might also be able to narrow down the culprit by disabling any plugins that modify your editor, and re-enabling them one-by-one to see if you can find out which one is causing the issue.
The only other thing that jumped out to me when I was checking out your site is that you’re on a pretty old version of the Hydra theme, it might be worth updating that to see if that resolves the issue.
November 10, 2020 at 12:25 pm #31213LaraGuestHi Jesse,
Thanks for your response! I updated my theme, and I don’t think I have any plugins that affect the editor? But it happened again, so here are the errors:
Uncaught TypeError: Cannot read property ‘0’ of undefined
at t.value (editor.min.js?ver=1.13.4:1)
at t.value (editor.min.js?ver=1.13.4:1)
at HTMLDocument.<anonymous> (editor.min.js?ver=1.13.4:1)
at HTMLDocument.dispatch (load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.3:3)
at HTMLDocument.r.handle (load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.3:3)
at Object.trigger (load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.3:3)
at HTMLDocument.<anonymous> (load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.3:3)
at Function.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.3:2)
at n.fn.init.each (load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.3:2)
at n.fn.init.trigger (load-scripts.php?c=1&load[chunk_0]=jquery-core,utils&ver=5.5.3:3)
1000Mixed Content: The page at ‘<URL>’ was loaded over HTTPS, but requested an insecure element ‘<URL>’. This request was automatically upgraded to HTTPS, For more information see <URL>
11463 log entries are not shown.November 10, 2020 at 12:58 pm #31218Jesse OwensKeymasterHi Lara-
Thanks for that! There’s a couple of errors shown here.
The first is referencing the WordPress core JavaScript for the editor, and the second is referencing the fact that a library was loaded without a secure SSL certificate.
If you’ve recently added an SSL certificate, you might want to consider adding a plugin like Really Simple SSL to make sure all your URL’s are updated to use https:// instead of http://.
That said, I’m not convinced that’s the cause of the error in your editor, since your browser automatically upgraded the link to https. It’s the last line 11463 log entries are not shown that concerns me that many more errors are occurring that we didn’t see here.
I checked out the plugins that I can see on your site’s front-end, and one of them worries me a little- the Responsive Posts Carousel plugin was removed from the WordPress repository in May 2019 for violating plugin guidelines, so that means it hasn’t been updated for almost 2 years and may have errors or possibly even security vulnerabilities.
Try disabling that plugin to see if that resolves your errors. If you’re still having the same issue, I think we should move to a Premium Support Ticket (as an InMotion Hosting Customer, you have premium included with your hosting). That way one of our technicians can log into your website and take a closer look for you.
November 12, 2020 at 1:23 pm #31352Jesse OwensKeymasterHi Lara-
I’m just checking in to see if this issue got resolved by deactivating that plugin, because we’ve had a few other users report similar issues. Are you still having trouble with your updates not saving?
December 14, 2020 at 3:41 pm #32190LaraGuestHi Jesse,
Sorry I didn’t get back to you sooner… I didn’t have time to work on this for a few weeks.
It’s still not working. I just logged into my dashboard and there are two performance errors that might be the problem?
They say:
“An active PHP session was detected
A PHP session was created by a session_start() function call. This interferes with REST API and loopback requests. The session should be closed by session_write_close() before making any HTTP requests.”
And
“The REST API encountered an error
The REST API is one way WordPress, and other applications, communicate with the server. One example is the block editor screen, which relies on this to display, and save, your posts and pages.The REST API request failed due to an error.
Error: cURL error 28: Operation timed out after 10001 milliseconds with 0 bytes received (http_request_failed)”What can I do about fixing these?
Thank you!!December 14, 2020 at 3:56 pm #32210Jesse OwensKeymasterHi Lara-
We’ve seen this error being reported frequently with other plugins since the release of WordPress 5.5.
The only one of BoldGrid’s plugins that still has this issue is BoldGrid Staging, which we no longer recommend using if you have it. We now recommend using a separate staging site on BoldGrid Cloud WordPress.
If you do have BoldGrid Staging active on your site, go ahead and deactivate that plugin. If you don’t, try disabling each one of your plugins one-by-one until that error goes away. There’s a good chance that this might be the underlying cause of your post-saving issue.
December 15, 2020 at 11:33 am #32219LaraGuestHi Jesse,
I deactivated BoldGrid Staging and those errors went away, so hopefully that will fix the editor issues as well. Thank you again for all of your help! I’ll let you know if it doesn’t, but fingers crossed this is the last you’ll hear from me.
I really appreciate it!!
December 15, 2020 at 11:52 am #32247Joseph WKeymasterThat’s great news Lara! Hopefully the editor is working properly for you now, but please let us know if you run into any other issues!
-
AuthorPosts
- The topic ‘[Resolved] Edits made in post and page builder are not saved’ is closed to new replies.