• Resolved casparpt

    (@casparpt)


    Hi,

    I’m having a HTTP ERROR 500 in one specific page my website. All the other pages work OK.

    All this happened while editing the page in Gutenberg.

    Debug log indicates these 2 erros:

    Fatal error: Allowed memory size of 385875968 bytes exhausted (tried to allocate 20480 bytes) in /home/oc2sp3k8/eurotrucksimulator.org/wp-includes/class-wp-block-parser.php on line 417
    
    Fatal error: Allowed memory size of 385875968 bytes exhausted (tried to allocate 20480 bytes) in /home/oc2sp3k8/eurotrucksimulator.org/wp-includes/functions.php on line 4459

    I added define( ‘WP_MEMORY_LIMIT’, ‘368M’ ); to my wp-config.php but didn’t solved it and still the same 2 errors.

    Can anyone advice here? I’m really stuck on this one :/

    Thanks in advance.

    Some specs:

    WordPress: 5.6 (Multisite)
    Theme: Astra 3.0.1
    PHP: 7.4.11
    Server: Linux 3.10.0-962.3.2.l
    Web server: Apache
    memory_limit: 368M
    PHP max input variables: 3000
    PHP time limit: 300

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    The same for me.
    I have decided to use Classic Editor, …. and waiting to a new Gutenberg version.

    WordPress: 5.6
    Theme: Astra 3.0.1
    PHP: 7.4

    From France
    Gilles Peltier

    https://gilloup.com/

    Thread Starter casparpt

    (@casparpt)

    I solved my errors!

    Before going deep into the investigation, I deactivated all the plugins and activated the Twenty Twenty-One theme, both actions didn’t fix the problem, so I assumed it was definitely a problem on that specific page.

    I did a step-by-step reproduction of what I was doing when the error appeared and concluded the following:

    I was trying to use a Reusable Block when the page crashed, so I focused there.

    I’ve tried to reach the Reusable Blocks Admin Menu by creating a draft page and adding a test block to the reusable blocks section. Nothing happened and the block wasn’t added. So I got convinced that the problem might be a corrupted saved block messing with the page.

    Since I wasn’t able to reach the Reusable Blocks Management Page, I was forced to install this plugin to manage my saved blocks.

    I deleted the block that caused the page crash and BOOM, the errors were gone and the page can be seen again.

    Gutenberg has such a tremendous potential but it’s so buggy and a mess to work with. You don’t need the fancy and expensive Elementor or similar builder to design a good and beautiful website. You just need Gutemberg working properly and without all the bugs it currently has.

    • This reply was modified 4 years, 1 month ago by casparpt.

    I had same problem on one content heavy page with many <p> tags. However it was not due to reusable blocks yet it was because of number of revisions that page had (more than 500).

    So just to leave comment here if reusable block tip above doesn’t solve problems you can check the number of revisions page has.

    BR,
    Dusan

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Gutenberg crashed page while editing it’ is closed to new replies.