Support » Fixing WordPress » 5.6 – Exiting Gutenberg error (F12)

  • Updated to 5.6. Now exiting Gutenberg (after editing a post or a page) i get:

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

    prototype>: {…}
    ​​
    __defineGetter__: function __defineGetter__()
    ​​
    __defineSetter__: function __defineSetter__()
    ​​
    __lookupGetter__: function __lookupGetter__()
    ​​
    __lookupSetter__: function __lookupSetter__()
    ​​
    __proto__:
    ​​
    constructor: function Object()
    ​​
    hasOwnProperty: function hasOwnProperty()
    ​​
    isPrototypeOf: function isPrototypeOf()
    ​​
    propertyIsEnumerable: function propertyIsEnumerable()
    ​​
    toLocaleString: function toLocaleString()
    ​​
    toString: function toString()
    ​​
    valueOf: function valueOf()
    ​​
    <get __proto__()>: function __proto__()
    ​​
    <set __proto__()>: function __proto__()

    In an other WP installation when i do the same (exit after editing), i get asked if i want to leave the page etc.

    NEVER had this with 5.5.3/PHP 7.3.x. My 2 WP are very very stable.

    Any ideas? Thanks

    (JQ migrate plugin also shows no issues)

    • This topic was modified 2 months, 2 weeks ago by dimalifragis.
Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator Marius L. J.

    (@clorith)

    It sounds like you may be experiencing a browser cache, leading to the wrong version of JavaScript being used, have a look at the section on flushing your caches at https://wordpress.org/support/topic/read-this-first-wordpress-5-6-master-list/#post-13760920 and see if that helps 🙂

    Thread Starter dimalifragis

    (@dimalifragis)

    @clorith Thanks, i already did all that, browser cache, site cache, optimizers, disabled ALL plugins and checked, switched to WP default theme and cheched.

    The issue is there.

    Thread Starter dimalifragis

    (@dimalifragis)

    This is Gutenberg related. If i disable Gutenberg, no issues.

    Also i found this:

    https://github.com/WordPress/gutenberg/issues/23942

    Thread Starter dimalifragis

    (@dimalifragis)

    What i posted for my second site

    “In an other WP installation when i do the same (exit after editing), i get asked if i want to leave the page etc.”

    was found to be a Gutenberg block plugin. And i disabled it and it is ok.

    The issue “Uncaught (in promise)
    Object { code: “fetch_error”, message: “You are probably offline.” }” remains.

    Thread Starter dimalifragis

    (@dimalifragis)

    @clorith

    Can you please let ne know if this is correct (not sure what that extra line with authorization is, i haven’t added it).

    # BEGIN WordPress
    # The directives (lines) between “BEGIN WordPress” and “END WordPress” are
    # dynamically generated, and should only be modified via WordPress filters.
    # Any changes to the directives between these markers will be overwritten.
    <IfModule mod_rewrite.c>
    RewriteEngine On
    RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ – [L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /index.php [L]
    </IfModule>

    # END WordPress

    Moderator Marius L. J.

    (@clorith)

    If you visit the Site Health screen ( Tools > Site Health ), do you have any issues to resolve there? I would start by resolving anything there if applicable.

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