Closed bm-jakob closed 4 weeks ago
Hey @bm-jakob,
Sorry about this - we're aware of the bug and are preparing a bug fix release.
For now, you can solve it by either disabling block validation on the block containing flexible content by setting validate: false
inside the ACF key of your block JSON, or disabling block validation globally using a filter like:
add_filter(
'block_type_metadata_settings',
function ( $settings, $metadata ) {
if ( ! acf_is_acf_block_json( $metadata ) ) {
return $settings;
}
$settings['validate'] = false;
return $settings;
},
10,
2
);
Or, given you're on GitHub and probably don't mind editing code, you could manually patch pro/fields/class-acf-field-flexible-content.php
at line 896 (so, the first after foreach ( $value as $i => $row ) {
)
Adding:
// ensure row is an array
if ( ! is_array( $row ) ) {
continue;
}
Thank you for the fast support @lgladdy! I will use one of the above until a fix is released.
I have quite a few sites, can we expect a hotfix release? Do you have an ETA already?
Thank you again.
Working with the team on this now... I'll give you an update on the release date as soon as I've got it!
Hey @bm-jakob! We just released ACF 6.3.1.1, a PRO only release with this fix in.
Thanks for your patience!
@Log1x We probably fixed that bug too in 6.3.1.1, but let me know if not.
Describe the bug Currently experiencing errors on many of my sites.
To Reproduce Steps to reproduce the behavior: I'm not sure. All my custom ACF blocks are infinite loading and can't show or let me edit content.
Expected behavior A clear and concise description of what you expected to happen.
Screenshots or Video
Version Information: