Home › Forums › Backend Issues (wp-admin) › Rewriting Metadata › Reply To: Rewriting Metadata
If I go into the database and manually change the region from
a:1:{i:0,s:1:”1″} to 1
Then when I do a filter on http://www.takeajourney.org/groups/?region=1, everything works just fine. If not, then I get this error:
Warning: Invalid argument supplied for foreach() in /home/takeajou/public_html/wp-content/themes/journeychurch/archive-groups.php on line 34
In the code, this is line 34:
`<?php foreach( $field[‘choices’] as $choice_value => $choice_label ): ?>
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.