• Hi there!

    I’m on WordPress 6.8.2 using a child of Twenty Twenty-Five. I have 49 custom patterns with the status Published. They show in the front end and in /wp-admin/edit.php?post_type=wp_block. However, some time back, they stopped appearing both when I try to insert a block or in Editor > Patterns > My Patterns.

    I have already switched themes, disabled all plugins, cleared caches. It made no difference.

    I have a different site, similar setup, with 14 custom patterns. No issues here.

    Saw this Github issue which seems related, but it’s closed and no fix was presented as far as I understand.

    I appreciate any help. Thanks a lot!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter ecabral

    (@ecabral)

    Still waiting for some feedback… thanks!

    Plugin Author Joen Asmussen

    (@joen)

    Hey, I took a look, and I cannot reproduce this myself, I see all my custom patterns on this URL /wp-admin/site-editor.php?p=%2Fpattern&postType=wp_block&categoryId=my-patterns.

    But I did respond on the GH issue you referenced, to see if anyone can take a look at this thread.

    Thread Starter ecabral

    (@ecabral)

    @joen – Thanks for that!

    Quick note to point out that while I see my patterns listed in /wp-admin/edit.php?post_type=wp_block, your URL /wp-admin/site-editor.php?p=%2Fpattern&postType=wp_block&categoryId=my-patterns shows ‘No results’.

    In any case, I’m still not able to use any of my patterns as they do not show in the block editor.

    Plugin Author Joen Asmussen

    (@joen)

    That is very curious indeed. I assume this is the same user you’re logged in with, that created those patterns? On my end, I see the same patterns listed at both of those URLs:

    Absent any other ideas, I’m going to drop this issue as a link in the core WordPress chat, see if any developers might be able to take a look.

    Plugin Author Daniel Richards

    (@talldanwp)

    I’m not sure how technical your are @ecabral, but it sounds like a possible issue with the REST API on your site. The newer gutenberg-style pages use the WordPress REST API to retrieve the list of patterns, the older WP admin page doesn’t use the REST API (I expect it uses WP Query directly).

    I’ve seen in the past some users have issues with the REST API when they have a firewall setup too aggressively, so that could be something to check.

    You can also check the network requests in your browser dev tools to see what happened to the request for patterns. Let me know if you’d like me to explain how to do that.

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

You must be logged in to reply to this topic.