Sorry hun but the sugar remedy really is an old wives tale. There is no medical reason why it would work except for the fact that the mixture is warm. Warm liquids stimulate the bowel - so warm water would be a much better option than putting so much sugar into a baby's system.

Prevention is a better option. The constipation could be due to two factors. One is lack of fluids - offering extra breastfeeds and/or water as you increase the amount of solids should help this. Not enough fluids might also explain the night waking. At about that age many babies start waking more often in the night for extra drinks as their brains are going through a period of rapid development and they seem to need more milk than usual. Solids won't meet this need, it's the milk they need. The other thing it could be is a reaction to the food - either an allergy or intolerance, or just not being ready. Now that she has had this reaction it might be an idea to introduce foods one at a time for a little bit to see if it happens again. That way if it does you will have a better idea of whether she's reacting to all foods or just some. Or it could be a combination of both factors.

Hopefully this was a one off and the rest of the solids process will go well.