Error thrown

Call to undefined function attachments_get_attachments()