Error thrown

Call to undefined function get_custom_field()