Home › Forums › Backend Issues (wp-admin) › Replacing custom post type post title with an acf? › Reply To: Replacing custom post type post title with an acf?
And now a brand new problem. Any idea why this would break the site when pushed to a remote server? It says the issue is with the “[” character on the line $pocket_name_fields = get_field('pocket_name', $post_id)[0];
, but I don’t know why that would be.
Databases are the same… field key is the same… what am I missing?
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.