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, 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 ): ?>