Title: &#8220;foreach&#8221; PHP error
Last modified: April 4, 2018

---

# “foreach” PHP error

 *  [berubes](https://wordpress.org/support/users/berubes/)
 * (@berubes)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/foreach-php-error/)
 * Had “foreach” PHP error. Didn’t work on WordPress 4.9.5 and/or with Advanced 
   Custom Fields 4.4.12.

Viewing 1 replies (of 1 total)

 *  Plugin Author [Kresimir Pendic](https://wordpress.org/support/users/gorostas/)
 * (@gorostas)
 * [8 years, 1 month ago](https://wordpress.org/support/topic/foreach-php-error/#post-10153209)
 * Hey Berubes,
 * please help me to diagnose your issue.
 * Can you give me this info maybe then I could help you debug it:
 * – What kinds of fields do you have, some custom ones or built-in ACF fields?
   –
   what taxonomy do you work on? – do you have access to error log files and see
   the error that gets logged there

Viewing 1 replies (of 1 total)

The topic ‘“foreach” PHP error’ is closed to new replies.

 * ![](https://ps.w.org/duplicate-taxonomy-terms-and-acf-fields/assets/icon-256x256.
   png?rev=1719618)
 * [Duplicate taxonomy terms and ACF fields](https://wordpress.org/plugins/duplicate-taxonomy-terms-and-acf-fields/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duplicate-taxonomy-terms-and-acf-fields/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duplicate-taxonomy-terms-and-acf-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/duplicate-taxonomy-terms-and-acf-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duplicate-taxonomy-terms-and-acf-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duplicate-taxonomy-terms-and-acf-fields/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Kresimir Pendic](https://wordpress.org/support/users/gorostas/)
 * Last activity: [8 years, 1 month ago](https://wordpress.org/support/topic/foreach-php-error/#post-10153209)