• We are using:
    WP 5.9.
    Tested with Twenty Twenty and Twenty Twenty One as well as Divi Child theme.
    Deactivated all plugins.
    Firefox.

    We might have 10 subsites in a multisite. The newest 3-4 subsites are having problems with the W site icon seen in the backend for a half second before it goes dark (blank).

    There are also problems with Saving, as it goes into a save loop which it does not exit out of. I see these console errors:

    XHRGEThttps://vedlikeholdsplan.com/wp-json/wp/v2/users?context=view&who=authors&per_page=50&_fields=id,name&_locale=user
    [HTTP/2 403 Forbidden 681ms]
    
    XHRGEThttps://vedlikeholdsplan.com/wp-json/wp/v2/templates?context=edit&post_type=post&_locale=user
    [HTTP/2 403 Forbidden 474ms]
    
    XHRGEThttps://vedlikeholdsplan.com/wp-json/?_locale=user
    [HTTP/2 403 Forbidden 511ms]
    
    XHRGEThttps://vedlikeholdsplan.com/wp-json/wp/v2/users/me?_locale=user
    [HTTP/2 403 Forbidden 113ms]
    
    XHRPOSThttps://vedlikeholdsplan.com/wp-json/wp/v2/posts/18?_locale=user
    [HTTP/2 403 Forbidden 147ms]
    
    XHRGEThttps://vedlikeholdsplan.com/wp-json/wp/v2/themes?context=edit&status=active&_locale=user
    [HTTP/2 403 Forbidden 140ms]
    
    XHRGEThttps://vedlikeholdsplan.com/wp-json/wp/v2/users?context=view&who=authors&per_page=50&_fields=id,name&_locale=user
    [HTTP/2 403 Forbidden 530ms]
    
    XHRGEThttps://vedlikeholdsplan.com/wp-json/wp/v2/templates?context=edit&post_type=post&_locale=user
    [HTTP/2 403 Forbidden 598ms]

    Etc.

    I was able to locate a resource: https://www.hostinger.com/tutorials/what-is-403-forbidden-error-and-how-to-fix-it
    Which mentioned for me to delete/rename the htaccess file and then go into a site and resave the Permalinks.
    I did so and the W site icon returned in the backend.
    The Save errors did not go into a loop.
    Instead it now says this: “Updating failed. The response is not a valid JSON response.”

    The Console gives this error:

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

    Uncaught (in promise) TypeError: r is null
    pt https://reviewsless.com/wp-includes/js/dist/core-data.min.js?ver=b4684a7c90f2d858ab7fa74414ad5a54:2
    core-data.min.js:2:38715`

    and

    XHR POSThttps://reviewsless.com/wp-json/wp/v2/posts/70/autosaves?_locale=user
    [HTTP/2 404 Not Found 26ms]

    I am working on figuring out the above errors.

    • This topic was modified 2 years, 9 months ago by Yui.
    • This topic was modified 2 years, 9 months ago by bcworkz. Reason: formatting fixed
Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Paal Joachim Romdahl

    (@paaljoachim)

    I made a Gutenberg issue here:
    https://github.com/WordPress/gutenberg/issues/38825

    As the error seems related to publishing a post or page.

    Thread Starter Paal Joachim Romdahl

    (@paaljoachim)

    I made a Gutenberg Github issue here:
    https://github.com/WordPress/gutenberg/issues/38825
    (Copy and paste of the last comment in the above issue.)

    We figured out the problem.

    Some sites had difficultly being SSL sertified. (Working with the host on this part.)
    As I renamed the htaccess file and a new was auto generated. The new htaccess file did not have the needed multisite code. This caused publishing errors with Gutenberg. Adding the below code the publishing error in Gutenberg went away.

    # BEGIN WordPress Multisite
    # Using subdomain network type: https://www.ads-software.com/support/article/htaccess/#multisite
    RewriteEngine On
    RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
    RewriteBase /
    RewriteRule ^index\.php$ - [L]
    # add a trailing slash to /wp-admin
    RewriteRule ^wp-admin$ wp-admin/ [R=301,L]
    RewriteCond %{REQUEST_FILENAME} -f [OR]
    RewriteCond %{REQUEST_FILENAME} -d
    RewriteRule ^ - [L]
    RewriteRule ^(wp-(content|admin|includes).*) $1 [L]
    RewriteRule ^(.*\.php)$ $1 [L]
    RewriteRule . index.php [L]
    # END WordPress Multisite

    The Classic Editor plugin was able to publish even though the above code was missing from the htaccess file, and was able to work even with problems with SSL. In general the Classic Editor seems more sturdy compared to Gutenberg. Hopefully this issue might compel ways to make Gutenberg even sturdier.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘W site icon glimpsed for a half second before it goes dark + save problems’ is closed to new replies.