• Recently I noticed that on any page that uses the Gutenberg blocks editor with a gallery, when I try to edit the page, as soon as it loads error messages begin accumulating extremely fast in the inspector console. This consumes all of the resources, freezes the page, and ends up crashing the entire site.

    I installed a plugin to revert to Classic Editor, and when I turn that on I do not get the problem.

    I have disabled all of my plugins and changed themes to Twenty Twenty and I still experience this problem. I have tried Safari and Chrome and both produce the same problem.

    Here is a link to some screenshots:
    https://drive.google.com/drive/folders/1gztgmMpHMXKDu5LCSapGloUzFM0Jku1M?usp=sharing

    • This topic was modified 5 years, 11 months ago by Jan Dembowski.

    The page I need help with: [log in to see the link]

Viewing 6 replies - 1 through 6 (of 6 total)
  • Moderator t-p

    (@t-p)

    The 503 service unavailable error occurs when your web server is unable to get a proper response from a PHP script. This PHP script could be a WordPress plugin, a theme, or a misbehaving custom code snippet.

    I have disabled all of my plugins and changed themes to Twenty Twenty and I still experience this problem.

    If these methods fail to resolve the error, then try contacting your hosting provider.

    Also review http://www.wpbeginner.com/wp-tutorials/how-to-fix-503-service-unavailable-error-in-wordpress/

    Thread Starter eaaronross

    (@eaaronross)

    Thank you. I really can’t find any plugin or theme that could be causing it, or custom code.

    You really don’t think it has to anything to do with the Gallery component itself? When there is a Gutenberg gallery of considerable size, that is the only time this happens, and as soon as I revert to the Classic Editor the problem goes away.

    Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    A 503 error is a server error. You need to look at the error logs on the server to find out what the error actually is. Without that information, you’re just guessing.

    Thread Starter eaaronross

    (@eaaronross)

    Update: I checked the error logs on the server and nothing jumped out at me. Although I’m not sure what i’m looking for. However, I did notice that if I disconnect my site from Cloudflare and have my domain just point straight to the GoDaddy host, I no longer experience the issue.

    I need Cloudflare for the site to perform well, but perhaps that insight will help. Going to try to reach out to them to see if they have any ideas.

    Thread Starter eaaronross

    (@eaaronross)

    This definitely has something to do with the SSL settings / forwarding in Cloudflare. HTTP works just fine with Gutenberg, but HTTPS does not for some reason. Which is strange because I’ve had these settings all the same for months but this error just started up.

    • This reply was modified 5 years, 11 months ago by eaaronross.
    Moderator Samuel Wood (Otto)

    (@otto42)

    ww.wp.xz.cn Admin

    I don’t use Cloudflare, but check in their WAF rules after you get the failure. If they have something blocking it, then perhaps you can disable that rule or bypass the cache for wp-json requests.

    Basically, ask Cloudflare. You can pretty definitively show that something on their end is causing the issue, so they would be the only ones to know how to fix it.

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Gutenberg Gallery Error creates 503 loop with invalid JSON’ is closed to new replies.