Home › Forums › Gutenberg › WP 6.8 Gutenberg blocks won’t register › Reply To: WP 6.8 Gutenberg blocks won’t register
I would like to update acf-composer to 3.4.3+ to fix these no support for this block type issues, however I can’t since I then also need to upgrade Acorn v2 to v3 and that’s not an option for me right now since it’s an older theme.
Therefore I need to stay on acf-composer 2.1. Is there no other way to fix this? I don’t have $parent
defined in any of my acf blocks?
I can’t upgrade to wordpress 6.8 because of this?
One of the blocks that doesn’t get registered anymore has the following attributes:
public $supports = [
'align' => false,
'align_text' => false,
'align_content' => false,
'anchor' => false,
'mode' => true,
'multiple' => true,
'jsx' => true
];
And fails on this line in plugins/advanced-custom-fields-pro/assets/build/js/pro/acf-pro-blocks.min.js?ver=6.4.0.1
with error Cannot read properties of undefined (reading 'attributes')
:
return u.attributes.anchor && (u.attributes.anchor = {
type: "string"
}),
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.