Have you had her tested for a UTI? Often they don't cause pain with kids but with her being unwell she may have developed one?