Support

Account

Home Forums General Issues acf_form() stopped working

Helping

acf_form() stopped working

  • Were there any forced updates around 12 december that could break acf_form function? last week all was good, could create custom post types with my acf_form()’s but since around 11/12 december something happened and I cannot create even a simple post. I have tested it with the default theme as well, without any plugins active and it still does not work. Does anyone have any idea what could be happening?

    Passing a standard array:

    
                          acf_form(array(
                              'id' => 'acf-form-folder',
                              'post_id' => 'new_post',
                              'post_title' => true,
                              'post_content' => false,
                              'new_post' => array(
                                  'post_type' => 'folders',
                                  'post_status' => 'publish'
                              ),
                              'submit_value' => 'Create',
                              'fields' => array('title')
                          ));

    I have tried it with different versions of both ACF PRO and WordPress and nothing. (WordPress from 4.7.7 to 5, ACF 5.7.7, 5.7.8 and 5.8.0 rev 3). PReviously it was working with 5.7.7 ACF and I really don’t know what could happened. Auto updates for wordpress are blocked. Tested on two servers. I’m going mad!

  • Can’t see an edit link anywhere. I have just noticed that even the update_field() function is not working anymore. No matter what I do it does not save anything.

Viewing 2 posts - 1 through 2 (of 2 total)

The topic ‘acf_form() stopped working’ is closed to new replies.