Title: Upgrading to version 2.1.2 causing errors
Last modified: August 21, 2016

---

# Upgrading to version 2.1.2 causing errors

 *  [darkhorse20](https://wordpress.org/support/users/darkhorse20/)
 * (@darkhorse20)
 * [13 years ago](https://wordpress.org/support/topic/upgrading-to-version-212-causing-errors/)
 * I upgraded to version 2.1.2 and then started seeing this error in the back end:
 * Warning: array_map() [function.array-map]: Argument #2 should be an array in /
   website/wp-content/plugins/custom-field-template/custom-field-template.php on
   line 294
 * When I try to save a page post I get:
 * Warning: Cannot modify header information – headers already sent by (output started
   at /website/wp-content/plugins/custom-field-template/custom-field-template.php:
   294) in /website/wp-includes/pluggable.php on line 876
 * Downgrading back to version 2.1.1 removes the errors.
 * [http://wordpress.org/extend/plugins/custom-field-template/](http://wordpress.org/extend/plugins/custom-field-template/)

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

 *  [purrdesign](https://wordpress.org/support/users/purrdesign/)
 * (@purrdesign)
 * [13 years ago](https://wordpress.org/support/topic/upgrading-to-version-212-causing-errors/#post-3716273)
 * I’m also getting errors after upgrading that prevent me from updating posts. 
   Something like:
 * Warning: array_map() [function.array-map]: Argument #2 should be an array in /
   home/public_html/wp-content/plugins/custom-field-template/custom-field-template.
   php on line 294
    (showing up in the CFT box on the post above where the Template
   Instruction shows up).
 *  [brasofilo](https://wordpress.org/support/users/brasofilo/)
 * (@brasofilo)
 * [13 years ago](https://wordpress.org/support/topic/upgrading-to-version-212-causing-errors/#post-3716278)
 * Same here.
    My 0.02 => it’s important to develop plugins with WP_DEBUG enabled.
 *  [hadebe](https://wordpress.org/support/users/hadebe/)
 * (@hadebe)
 * [13 years ago](https://wordpress.org/support/topic/upgrading-to-version-212-causing-errors/#post-3716291)
 * Same here. I downgraded back to version 2.1.1
    [http://wordpress.org/extend/plugins/custom-field-template/developers/](http://wordpress.org/extend/plugins/custom-field-template/developers/)
 *  [Matt Blank](https://wordpress.org/support/users/mattblank/)
 * (@mattblank)
 * [13 years ago](https://wordpress.org/support/topic/upgrading-to-version-212-causing-errors/#post-3716301)
 * Same here! Please can this be fixed.
 *  [oliwa](https://wordpress.org/support/users/oliwa/)
 * (@oliwa)
 * [13 years ago](https://wordpress.org/support/topic/upgrading-to-version-212-causing-errors/#post-3716317)
 * Same issue for me, but only in local environment. On the live site it works without
   errors.
 *  [chavo](https://wordpress.org/support/users/chavo/)
 * (@chavo)
 * [13 years ago](https://wordpress.org/support/topic/upgrading-to-version-212-causing-errors/#post-3716396)
 * I’m getting errors with spanish characters in fields names since upgrade.
 * Edit:
 * Weird behavior: error fixed when post saved.
 *  [aptharsia](https://wordpress.org/support/users/aptharsia/)
 * (@aptharsia)
 * [13 years ago](https://wordpress.org/support/topic/upgrading-to-version-212-causing-errors/#post-3716495)
 * Same here. Only downgrading back to 2.1.1 fixed it.
 *  [allproactive](https://wordpress.org/support/users/allproactive/)
 * (@allproactive)
 * [12 years, 1 month ago](https://wordpress.org/support/topic/upgrading-to-version-212-causing-errors/#post-3716572)
 * I’m getting this message when I save a post or page:
 * Warning: strtolower() expects parameter 1 to be string, array given in /website/
   wp-includes/formatting.php on line 981
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/wesfal1/clg/wp-includes/formatting.php:979) in /website/wp-admin/post.
   php on line 233
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/wesfal1/clg/wp-includes/formatting.php:979) in /website/wp-includes/
   pluggable.php on line 896
 * Some times the just entered content is saved and some times not. This only began
   happening after the latest update (and goes away when the plugin is deactivated).
 * Any ideas?
 * Would reverting to earlier version remove my existing templates?
    Thanks!

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

The topic ‘Upgrading to version 2.1.2 causing errors’ 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/)

 * 8 replies
 * 9 participants
 * Last reply from: [allproactive](https://wordpress.org/support/users/allproactive/)
 * Last activity: [12 years, 1 month ago](https://wordpress.org/support/topic/upgrading-to-version-212-causing-errors/#post-3716572)
 * Status: not resolved