Title: [Plugin: Custom Field Template] Warning: array_unique() after update
Last modified: August 19, 2016

---

# [Plugin: Custom Field Template] Warning: array_unique() after update

 *  Resolved [apostaganha2](https://wordpress.org/support/users/apostaganha2/)
 * (@apostaganha2)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-warning-array_unique-after-update/)
 * Im getting this error (everytime i save a post) after updating for the last version
   today:
 * Warning: array_unique() [function.array-unique]: The argument should be an array
   in public_html/wp-content/plugins/custom-field-template/custom-field-template.
   php
 * Help please.

Viewing 6 replies - 1 through 6 (of 6 total)

 *  Plugin Author [Hiroaki Miyashita](https://wordpress.org/support/users/hiroaki-miyashita/)
 * (@hiroaki-miyashita)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-warning-array_unique-after-update/#post-1861537)
 * Let me know which line of custom-field-template.php the error says. Thanks.
 *  [rikmulder](https://wordpress.org/support/users/rikmulder/)
 * (@rikmulder)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-warning-array_unique-after-update/#post-1861601)
 * Hi Hiroaki, Same probleme here. This is the output . Hope you can fix it 🙂
 * I get this message 8 times after eachother:
 * Warning: array_unique() [function.array-unique]: The argument should be an array
   in /home/admin/domains/mydomainname.nl/public_html/cms/wp-content/plugins/custom-
   field-template/custom-field-template.php on line 2712
 * And this one at the end:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/admin/domains/mydomainname.nl/public_html/cms/wp-content/plugins/custom-
   field-template/custom-field-template.php:2712) in /home/admin/domains/snelafvallenhq.
   nl/public_html/cms/wp-includes/pluggable.php on line 890
 *  Plugin Author [Hiroaki Miyashita](https://wordpress.org/support/users/hiroaki-miyashita/)
 * (@hiroaki-miyashita)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-warning-array_unique-after-update/#post-1861619)
 * Please upgrade to 1.8.1. I hope it will fix the bug.
 *  [Decio](https://wordpress.org/support/users/decio/)
 * (@decio)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-warning-array_unique-after-update/#post-1861622)
 * Upgraded to 1.8.1 and it did fix the bug.
 * Tks!
 *  Thread Starter [apostaganha2](https://wordpress.org/support/users/apostaganha2/)
 * (@apostaganha2)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-warning-array_unique-after-update/#post-1861674)
 * Thanks! it fixed the bug 😉
 *  [rikmulder](https://wordpress.org/support/users/rikmulder/)
 * (@rikmulder)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-warning-array_unique-after-update/#post-1861683)
 * It’s working again. Thank!

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘[Plugin: Custom Field Template] Warning: array_unique() after update’
is closed to new replies.

 * ![](https://ps.w.org/custom-field-template/assets/icon-256x256.png?rev=1966286)
 * [Custom Field Template](https://wordpress.org/plugins/custom-field-template/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-field-template/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-field-template/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-field-template/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-field-template/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-field-template/reviews/)

 * 6 replies
 * 4 participants
 * Last reply from: [rikmulder](https://wordpress.org/support/users/rikmulder/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-warning-array_unique-after-update/#post-1861683)
 * Status: resolved