Error thrown

Call to undefined function cg_the_attached_image()