• Resolved dimal

    (@dimalifragis)


    Hello.

    I have two issues, probably related. When i leave a Gutenberg page, is get one of the two issues. And NOT always but usually.

    1. Am asked if i want to leave the page (a browser message i guess), even if i change nothing in the page. If i UPDATE the page (without changing anything) the dialog goes away.

    2. If i exit a page (or a post) from Gutenberg, i sometimes get:

    Uncaught (in promise)
    Object { code: “fetch_error”, message: “You are probably offline.” }
    data.min.js:2:7527

    Uncaught (in promise)
    Object { code: “invalid_json”, message: “The response is not a valid JSON response.” }

    This second issue is strange.

    I have disabled each and every plugin, switched to default theme, the issue is there.

    If i disable Gutenberg, no #1 or #2 issue.

    I run WP 5.6 and PHP 7.3.x

    ANY ideas are welcome.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter dimal

    (@dimalifragis)

    My #1 issue is probably due to some plugin, since on a staging installation i can’t replicate it.

    My #2 is happening everywhere. I have downgraded to 5.5.3 and it still happens.

    I have downgraded to 5.4.4 and still happens.

    It doensn’t happen with 5.3.6.

    With our team we will study this more and update here if we find something.

    On the meantime i would appreciate some help or what to look for.

    Plugin Author Daniel Richards

    (@talldanwp)

    @dimalifragis If you or a plugin has enabled custom fields then it can trigger this behavior from what I recall. The problem is that the editor has no way to tell if a change has been made to a custom field, so shows the confirmation always.

    I saw you created an issue for the second problem so let’s carry on troubleshooting there:
    https://github.com/WordPress/gutenberg/issues/27696

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Leaving a Gutenberg Page issues’ is closed to new replies.