Home Forums General Issues ACF PRO name of uploaded file problem


ACF PRO name of uploaded file problem

  • Hi, i use basic uplaoder from ACF PRO on my site and have problem with files names after upload, they always looks like:
    a) foAktkpTURBXy85NmUyMzBlMTFjMzBjNDgzZDYzMzQ2Yzc1NGYzZjY0Zi5qcGeSlQMABM0By80CsJMFzN_NAU0-36.jpg

    Hash Info is d293a48317b558533b823ce38174039a72f69164 so the name looks like take the hash info as the name.

    when i switch from basic uplader to wp one everything is ok, so is there any way to fix that ?

    my code for adding file looks like:

                  if (have_posts()) : while (have_posts()) : the_post();
                    'post_id'   => 'new',
                    'new_post'    => array(
                      'post_type'   => 'post',
                      'post_status'   => 'publish'
                    'submit_value'    => 'add file',
                    'post_content'    => false,
                    'post_title'      => true,
                    'field_groups'    => [289],
                    'uploader'        => 'wp'
  • Hi @davred

    I’ve just tested it on my installation but failed to reproduce the issue. Maybe there’s a conflict on your site. Could you please try to reproduce the issue on one of the WordPress’ stock themes (like Twenty Sixteen) with only ACF activated? If it disappears, then you can activate the theme and plugins one by one to see which one causes the issue.

    Also for a new post form, you should set the post_id to “new_post”. This page should give you more idea about it:

    Thanks 🙂

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

The topic ‘ACF PRO name of uploaded file problem’ is closed to new replies.