Warning on array to string
-
After an update to the latest version (around 15-Apr-24), there is a PHP Warning: Array to string conversion in “includes/acf-value-functions.php” on lines 96 and 122 which are:
96: if ( $store->has( "$post_id:$field_name" ) ) { 122: $store->set( "$post_id:$field_name", $value );
I tried to log the “$store” which is the following:
ACF_Data Object ( [cid] => acf-6 [data] => Array ( [8963:banner_image] => [8963:banner_image:formatted] => [9231:banner_image] => [9231:banner_image:formatted] => [9270:banner_image] => [9270:banner_image:formatted] => [14473:banner_image] => [14473:banner_image:formatted] => [9013:banner_image] => [9013:banner_image:formatted] => [14481:banner_image] => [14481:banner_image:formatted] => [9279:banner_image] => [9279:banner_image:formatted] => [15541:banner_image] => [15541:banner_image:formatted] => [1:banner_image] => [22:banner_image] => ) [aliases] => Array ( ) [multisite] => 1 )
I have not changed the fields. Any ideas? Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Warning on array to string’ is closed to new replies.