Title: Call to undefined function CFS()
Last modified: March 13, 2018

---

# Call to undefined function CFS()

 *  [okegima](https://wordpress.org/support/users/okegima/)
 * (@okegima)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-cfs/)
 * Greeting,
 * am having an issue with custom field suite and my front end theme.
 * i saw this issue after deactivated the plugin.
 * i have now this error message : Call to undefined function CFS()
 * here my sample code:
 * if(!empty(CFS()->get(‘keywords’)))
    { echo CFS()->get(‘keywords’); } else { echo‘
   2’; }
 * how my condition can understand that if the plugin is desactivate, it have to
   move on Else ?
 * thank you

The topic ‘Call to undefined function CFS()’ is closed to new replies.

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

 * 0 replies
 * 1 participant
 * Last reply from: [okegima](https://wordpress.org/support/users/okegima/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/call-to-undefined-function-cfs/)
 * Status: not resolved