I reviewed the code for food items, and I still see no error.
Healing from food items will get cancelled if you enter combat for any reason, and that's that. Keep in mind that food items will keep healing while you are on the loading screen, so it could be that it expired while you were loading?
In any case, if you notice it again, tag your own session (by typing "/tag anything" without the quotes) - that will tell the server to not delete the session transcript when you logout, so I can review what happened. It doesn't matter when you type it, as long as it's before you logout. Though, it'd help if you typed it as soon as possible, because I can search for tags.