Home › Forums › Front-end Issues › Using acf_form to create a new post › Reply To: Using acf_form to create a new post
I am having the same problem when trying to show a form for creating a new post. I only see the submission button, nothing else. Editing a specific form works.
I have copied the code exactly as is shown on this page: http://www.advancedcustomfields.com/resources/functions/acf_form/
I get this error:
Notice: Undefined index: new_post in /wp-content/plugins/advanced-custom-fields/core/api.php on line 1185 Warning: array_merge(): Argument #1 is not an array in /wp-content/plugins/advanced-custom-fields/core/api.php on line 1185
Update:
Using the fix in this post – http://www.advancedcustomfields.com/resources/functions/acf_form/ the error message is removed, but my form is still not showing. Any ideas?
UPDATE 2!
I was using the documentation for V5… So I had the wrong code!
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.