[Support request] Issue with Chrome

Home Forums Support [Support request] Issue with Chrome

Home Forums Support Issue with Chrome

  • This topic has 11 replies, 2 voices, and was last updated 4 years ago by Tom.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1244708
    Gabriele

    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 75

    Thanks!

    #1244825
    Tom
    Lead Developer
    Lead Developer

    Hi 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

    #1244978
    Gabriele

    Hi,
    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:1

    In frontend (stuck), the errors are these :
    – A cookie associated with a cross-site resource at http://google.com/ was set without the SameSite attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure. 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 the SameSite attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure. 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 the SameSite attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure. 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 the SameSite attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with SameSite=None and Secure. 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

    Thanks

    #1245561
    Tom
    Lead Developer
    Lead Developer

    Not 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.

    #1246159
    Gabriele

    Hi,
    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.

    #1246899
    Tom
    Lead Developer
    Lead Developer

    Is 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 🙂

    #1247202
    Gabriele

    Hi Tom,
    you can check the video at the following link :

    https://youtu.be/IDU5QPyu-aw

    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.

    #1247317
    Tom
    Lead Developer
    Lead Developer

    Does 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.

    #1247517
    Gabriele

    Yes, 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.

    #1248260
    Tom
    Lead Developer
    Lead Developer

    Just 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.

    #1248471
    Gabriele

    Ok, thanks.
    Do you take care of reporting this bug?

    #1248593
    Tom
    Lead Developer
    Lead Developer

    I’ll do my best, although something like this might not take high priority with them.

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