I think you are looking for wp_get_attachment_image_src
instead of wp_get_attachment_src
which is not a core WordPress function
I think you are looking for wp_get_attachment_image_src
instead of wp_get_attachment_src
which is not a core WordPress function