My 7-month-old refuses to go to sleep on her own. Is there a quick fix for this problem?

No. As long as you pander to her she will keep it up indefinitely. Children want to "test" parents to see if they can exercise control. You must make it clear that there is nothing to be afraid of and that her bed (crib) is for her to sleep in wihout your presence.