around here, garlic is used by some beeks, to feed the bees. supposed to help them during longer periods of time when they can't fly out-during winter. i used it once, they took up that garlic-scented syrup in no time. so, no, it should not have a negative effect. neither the onions, i guess