Title: [Plugin: Easy Custom Fields] Call to undefined function
Last modified: August 19, 2016

---

# [Plugin: Easy Custom Fields] Call to undefined function

 *  [mariostella](https://wordpress.org/support/users/mariostella/)
 * (@mariostella)
 * [15 years, 8 months ago](https://wordpress.org/support/topic/plugin-easy-custom-fields-call-to-undefined-function/)
 * Hi I get this error when saving a post. The fields show up correctly, however
   when I save the draft I get the error below.
 * Fatal error: Call to undefined function get_post_type_object() in /home/*/public_html/
   test2/wp-content/plugins/easy-custom-fields/easy-custom-fields.php on line 427
 * No idea why.
 * [http://wordpress.org/extend/plugins/easy-custom-fields/](http://wordpress.org/extend/plugins/easy-custom-fields/)

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

 *  [Mohammad Jangda](https://wordpress.org/support/users/batmoo/)
 * (@batmoo)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-easy-custom-fields-call-to-undefined-function/#post-1669770)
 * It’s probably because you’re running an 2.9.x. Upgrading to 3.0 should fix the
   issue.
 *  Thread Starter [mariostella](https://wordpress.org/support/users/mariostella/)
 * (@mariostella)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-easy-custom-fields-call-to-undefined-function/#post-1669771)
 * Hi, thanks
 * But the plugin page says 2.9.2 is supported

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

The topic ‘[Plugin: Easy Custom Fields] Call to undefined function’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/easy-custom-fields.svg)
 * [Easy Custom Fields](https://wordpress.org/plugins/easy-custom-fields/)
 * [Support Threads](https://wordpress.org/support/plugin/easy-custom-fields/)
 * [Active Topics](https://wordpress.org/support/plugin/easy-custom-fields/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/easy-custom-fields/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/easy-custom-fields/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [mariostella](https://wordpress.org/support/users/mariostella/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-easy-custom-fields-call-to-undefined-function/#post-1669771)
 * Status: not resolved