Error thrown

Call to undefined function dani_get_attachment_id_from_src()