same here. it does not work, if you use the example for creating new posts found here:
http://www.advancedcustomfields.com/resources/functions/acf_form/
it throws a “Warning: array_merge(): Argument #1 is not an array in *ROOT*\wp-content\plugins\advanced-custom-fields\core\api.php on line 1185
<?php acf_form_head(); ?>
<?php get_header(); ?>
<div id="primary" class="content-area">
<div id="content" class="site-content" role="main">
<?php /* The loop */ ?>
<?php while ( have_posts() ) : the_post(); ?>
<?php acf_form(array(
'post_id' => 'new_post',
'new_post' => array(
'post_type' => 'event',
'post_status' => 'publish'
),
'submit_value' => 'Create a new event'
)); ?>
<?php endwhile; ?>
</div><!-- #content -->
</div><!-- #primary -->
<?php get_sidebar(); ?>
<?php get_footer(); ?
help would be much appreciated…