Title: [Plugin: Custom Field Template] Fatal error &#8211; string offset?
Last modified: August 19, 2016

---

# [Plugin: Custom Field Template] Fatal error – string offset?

 *  [cosmictap](https://wordpress.org/support/users/cosmictap/)
 * (@cosmictap)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-fatal-error-string-offset/)
 * Hey all,
 * I have been getting this error when trying to save or preview a post:
 * **_Fatal error: Cannot use string offset as an array in /home/mysite/public\_html/
   wp-content/plugins/custom-field-template/custom-field-template.php on line 2601_**
 * I searched around and can’t seem to find a good solution. I did see someone unchecking
   a couple options on the “global” settings, but all the special options under 
   my “global” options are unchecked.
 * I think it may be because I am using variable / custom field names (“keys”) that
   already exist in the post entry. But I am required to do this because the field
   names (“keys”) need to stay the same.
 * What I want is for CFT to change the value of the keys to whatever is entered
   in the custom form. (In some cases it should be editing an existing value, in
   some cases it is adding the value where there is none.)
 * Any ideas? Thanks.

Viewing 1 replies (of 1 total)

 *  [Takashi Irie](https://wordpress.org/support/users/iamtakashi/)
 * (@iamtakashi)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-fatal-error-string-offset/#post-1776145)
 * I have this issue too! Any thoughts?
 * [@cosmictap](https://wordpress.org/support/users/cosmictap/), if you have figured
   out this issue, please share with me. Thanks in advance.
 * iamtakashi

Viewing 1 replies (of 1 total)

The topic ‘[Plugin: Custom Field Template] Fatal error – string offset?’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [Takashi Irie](https://wordpress.org/support/users/iamtakashi/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-custom-field-template-fatal-error-string-offset/#post-1776145)
 * Status: not resolved