• Resolved jonakk

    (@jonakk)


    Hi,

    My reusable blocks do not show anymore.

    I’m able to create them but when I go to some other page or post the block is not in the list anymore. When I go back to the page/post where I created the block, 1) the block shows in the list as “Untitled Reusable Block”, 2) the block title in the post/page says “Untitled Reusable Block” too, 3) and while the block is loading within the post/page a message appears for a moment saying “Block has been deleted or is unavailable.”

    I can see the wp_block items are properly created in the “posts” table in the database.

    The problem came from nowhere, no plugin installation, no update, nothing. I’ve tried many things so far like a) disabling all plugins and theme using Health Check plugin; b) running the site with some other browsers besides Chrome (Safari, Firefox); c) updating WP to the latest version (5.5.1).

    Ideas?

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Are these blocks have post_status ‘publish’? It’s happening if they are in the trash.

    This is the page to manage all blocks: /wp-admin/edit.php?post_type=wp_block

    Thread Starter jonakk

    (@jonakk)

    Hi Olga,

    I’ve sorted it out. My fault. I was using /wp-admin/ as part of a golden rule for avoiding Cloudflare from caching all the admin side but it was a bad idea. For instance, WP’s rest api uses /wp-json/ which was accidentally being cached by Cloudflare.

    What drove me mad (and still does) is that I was able to create and reuse blocks for many days before Cloudflare started to do his job as it was supposed to, so I couldn’t relate Cloudflare to the problem I was having.

    Many Thanks!!

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

The topic ‘Reusable Blocks not working’ is closed to new replies.