Viewing 9 replies - 16 through 24 (of 24 total)
  • Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Sorry @curdaneta, please look here:
    https://i.imgur.com/jMBKfSl.png

    Thread Starter Ciro Urdaneta

    (@curdaneta)

    Hi @mateuszgbiorczyk

    I don’t know why the value of the ACF “part_description” field looks wrong. All the parts have a description with their value.

    Regards
    Ciro

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Delete this field from the ACE group and add it again, then save all posts again.

    Thread Starter Ciro Urdaneta

    (@curdaneta)

    Hi @mateuszgbiorczyk

    There are more than 800 posts, imagine what it is to do that to everyone.
    BTW I’ll try with one and post the results

    Regards
    Ciro

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    You see that there is a mistake. I don’t know how it was made, but it doesn’t apply to my plugin. Without a valid data structure it will not work.

    Thread Starter Ciro Urdaneta

    (@curdaneta)

    Hi @mateuszgbiorczyk

    First of all, thanks for your help. I must say that if you can’t find the answer to the problem, the cause is a database error.

    I will recap:
    – I’m using ACF Pro v5.7.7
    – I’m using Custom Post Types created with the plugin 5.7.7 v1.6.0
    – ACF: Better search version is 3.1.2
    – The plugin can’t find any value of the ACF (text, repeater)

    Regards
    Ciro

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    Do as I said. Remove the field from the ACF group, add it again. You can do the save_post action by downloading all posts with the function, making a loop and manually forcing the editing of the post.

    Thread Starter Ciro Urdaneta

    (@curdaneta)

    Hi @mateuszgbiorczyk

    I’m lost in your last reply. Could you please help me, I don’t know how to create the function with the save_post action in order to not lo loose all my data before removing the ACF group

    Regards
    Ciro

    Plugin Author Mateusz Gbiorczyk

    (@mateuszgbiorczyk)

    For example:

    foreach ($posts as $post) {
    
      $value = get_field('field', $post->ID);
      update_field('field', $value, $post->ID);
    
    }
Viewing 9 replies - 16 through 24 (of 24 total)
  • The topic ‘Plugin not working’ is closed to new replies.