- This topic has 11 replies, 2 voices, and was last updated 4 years ago by Tom.
-
AuthorPosts
-
April 18, 2020 at 2:31 pm #1244708Gabriele
Hi,
on my site, when I write an article, after saving the draft post seven times (yes seven times, always the seventh time!!) everything hangs, the save draft button remains stuck on “saving in progress” and the site is unreachable. I am forced to close the browser tab and open another one, otherwise the situation will not unlock.
The curious thing is that all this happens only with Chrome (I have the latest version) and not with Firefox (latest version). On chrome I tried with incognito navigation with no results, same problem.– I tried clearing the cache, but nothing.
– I tried to disable ALL the plugins but nothing to do.
– I have cloned the site locally and the problem is the same.The problem only disappears if I change the theme by deactivating GeneratePress.
Can you help me, please ?
Mac
Generatepress 2.4.2
GP Premium 1.9.2
WordPress 5.4
Chrome 81.0.4044.113
Firefox 75Thanks!
April 18, 2020 at 5:56 pm #1244825TomLead DeveloperLead DeveloperHi there,
What do you mean by the site is unreachable? Any specific errors?
Are there any console log errors when this happens?: Right-click + Inspect, Console tab
April 19, 2020 at 1:03 am #1244978GabrieleHi,
I mean that if I open another tab on google with my site it won’t load.In the backend (stuck), the errors are these :
– editor.withColors is deprecated. Please use wp.blockEditor.withColors instead.
c @ deprecated.min.js:2
– DOM] Found 2 elements with non-unique id #_wpnonce: (More info: https://goo.gl/9p2vKq) <input
type=”hidden” id=”_wpnonce” name=”_wpnonce” value=”2b72a9b504″> <input type=”hidden” id=
“_wpnonce” name=”_wpnonce” value=”7b8ff64cf8″> post.php?post=13939&action=edit:1In frontend (stuck), the errors are these :
– A cookie associated with a cross-site resource at http://google.com/ was set without theSameSite
attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set withSameSite=None
andSecure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032. local-ntp.html:1
-A cookie associated with a cross-site resource at https://google.com/ was set without theSameSite
attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set withSameSite=None
andSecure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032. local-ntp.html:1
– A cookie associated with a cross-site resource at https://www.google.com/ was set without theSameSite
attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set withSameSite=None
andSecure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032. local-ntp.html:1
– A cookie associated with a cross-site resource at https://ogs.google.com/ was set without theSameSite
attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set withSameSite=None
andSecure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032. local-ntp.html:1Thanks
April 19, 2020 at 9:21 am #1245561TomLead DeveloperLead DeveloperNot seeing anything there that would cause an error.
When you say won’t load, is there a specific error? Or does it keep loading and loading? It might be worth contacting your hosting to see if they can inspect the error logs to see if anything is happening on the server-side of things.
April 20, 2020 at 12:38 am #1246159GabrieleHi,
it keep loading and loading…I don’t think it depends on hosting, as I said I moved the site locally and the problem is the same.
April 20, 2020 at 9:21 am #1246899TomLead DeveloperLead DeveloperIs there any way you can show me a video of the issue so I can follow the same steps? I’ve tried it on my development install, but I’m not seeing it. From a code-standpoint, it doesn’t really make any sense. The same process runs each time you save a draft – if it doesn’t fail the first time, it shouldn’t fail at all.
Let me know 🙂
April 20, 2020 at 2:34 pm #1247202GabrieleHi Tom,
you can check the video at the following link :In the video I didn’t do it in order not to break the production site but locally if I change the theme the problem disappears.
And with firefox & safari the problem doesn’t exist (in Chrome i also disabled all extensions without success, same result).
Thanks.
April 20, 2020 at 5:37 pm #1247317TomLead DeveloperLead DeveloperDoes your local site have all the same plugins? Does the same thing happen with no plugins?
I can’t get this to happen at all – I’ve tried a handful of times with no luck.
April 21, 2020 at 12:27 am #1247517GabrieleYes, same site and same plugins, a clone.
But now I have some news : if i disable all the plugins the problem disappears but if i only activate the woocommerce plugin the problem start again.April 21, 2020 at 10:05 am #1248260TomLead DeveloperLead DeveloperJust played with this for a while.
It looks like a bug revolving around metaboxes in Gutenberg + WooCommerce. I create a sample plugin with a metabox, and activated the default Twenty-Twenty theme to take GeneratePress out of the equation. I was able to reproduce the same issue after saving the draft 7 times.
It might be something that needs to be reported to Gutenberg.
For now, I would just refresh the editor before you get close to saving the draft 7 times.
April 21, 2020 at 1:19 pm #1248471GabrieleOk, thanks.
Do you take care of reporting this bug?April 21, 2020 at 4:12 pm #1248593TomLead DeveloperLead DeveloperI’ll do my best, although something like this might not take high priority with them.
-
AuthorPosts
- You must be logged in to reply to this topic.