Home › Forums › Bug Reports › acf_register_block and filter block_categories issue with 5.8.0 › Reply To: acf_register_block and filter block_categories issue with 5.8.0
Hi I had the same problème .. It’s look like the have or they gonna patch gutenberg ..
I simply change the line : 237 of : gutenberg/lib/block.php
if ( ! $block_type || ! $block_type->render_callback ) {
return $block_content;
}
by:
if ( ! $block_type || ! $block_type->render_callback || empty( $block_type->supports ) ) {
return $block_content;
}
It work for me .. and just wait for the patch ..
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.