Hi, i use basic uplaoder from ACF PRO on my site and have problem with files names after upload, they always looks like:
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' => ,
'uploader' => 'wp'
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: https://www.advancedcustomfields.com/resources/using-acf_form-to-create-a-new-post/.