What to eat if you have diabetes 2 and ibs and diverculitis and how to deal with gliclazide

I have been given gliclazide and would like to know how people are getting on with this medication please.

I have irritable bowel syndrome and diverticulitis and would like help in finding foods to eat that do not interfere with three medical conditions please as it is very frustrating.

I need to lose weight as I need surgery. I do not eat a lot as it is so not sure why I am not losing weight. I also go walking and to the gym. Any advice on how to lose weight, meal suggestions please