• Resolved whitehatfisherman

    (@whitehatfisherman)


    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)
  • ACF Support

    (@acfsupport)

    Hi @whitehatfisherman

    ACF Support Team here. This forum is generally used by ACF users to help each other out. 

    However, we would love to continue investigating and troubleshooting this issue, please can you create a ticket using our ?support form and we can look into it further.

Viewing 1 replies (of 1 total)
  • The topic ‘Warning on array to string’ is closed to new replies.