Error when saving in draft mode
When we are creating/editing content that is saved as DRAFT when we press "preview in new tab" it works at first, but after a couple of iterations of saving/previewing and editing a couple of times, the page stops working,
Initially, it shows that the preview is loading but it does not finish loading. and stays in the loading state forever.
At the same time, as the page is being saved (since that is what happens when the preview button is pressed) it is marked as saving infinitely.
At this stage, it becomes frozen and we are not able to edit or save changes. When this happens, it freezes the entire WordPress backend in other tabs opened in Chrome, not just this tab.
The only solution we found is to close the window without the latest changes having been saved.
When the tab is closed, the other WordPress tabs start working correctly again.
But the latest changes are lost
This is what we see when it freezes
And the "Saving" stays grayed forever (highlighted in yellow below)
The site uses WPML and WP-Rocket but we deactivated all the plugins and the problem persisted.
Thanks a lot!