You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected behavior
Value should be displayed. Instead, nothing is shown.
Code
in Bindings.php in get_value() function, line 52 : it seems that get_field_object() always returns false.
I've tried to var_dump() a get_field() with the same $source_attrs['key'] and it works.
Going further, it fails on $store->get( $id )
Version Information:
WordPress Version 6.7
PHP Version 8.3.8
ACF Version ACF Free 6.2.8
Browser Chrome 131
Additional context
Not sure if I missed something about the configuration
It would be cool to have a proper documentation about block binding on the ACF website. For now, the only reference is on the 6.2.8 release blog post.
The text was updated successfully, but these errors were encountered:
Describe the bug
When connecting a block to ACF Fields via the block Binding API, ACF fails to retrieve the value of the field.
To Reproduce
Steps to reproduce the behavior:
my-field
for exampleExpected behavior
Value should be displayed. Instead, nothing is shown.
Code
in
Bindings.php
inget_value()
function, line 52 : it seems thatget_field_object()
always returnsfalse
.I've tried to var_dump() a get_field() with the same
$source_attrs['key']
and it works.Going further, it fails on
$store->get( $id )
Version Information:
Additional context
Not sure if I missed something about the configuration
It would be cool to have a proper documentation about block binding on the ACF website. For now, the only reference is on the 6.2.8 release blog post.
The text was updated successfully, but these errors were encountered: