@Jools, sorry but it's still not working right. Although the error message doesn't appear anymore, what happens now is two things:
1) In previous versions of this function, as a person types a food name, a display would appear mentioning all existing entries in the food database that contained that word (including different name brands of commercially prepared food), so a person could select an existing food name instead of everyone trying to guess a properly-formatted name for the food. That display no longer occurs. Is that by design? Or another bug?
2) Although I'm able to type a food option into the entry line, when I press submit at the bottom of the page, instead of accepting my entry and adding the food to the data, the page recycles back to the Edit BLOG page as if I hadn't typed anything at all, and at the same time, there is no mention visible of the food I just tried to add.
As an UNRELATED bug, I see that when viewing (not editing) other BLOG pages, two things are not displaying:
1) Foods (maybe related to this bug here) and
2) The SL of babies ages 7 days, 14 days and 21 days. (By contrast, the SL of babies 1, 3 and 6 months are visible).
OK, will get on it. These look like secondary issues, in other words, problems caused by the fixes put in place to resolve the first set of errors etc. Disappointing (in myself) I've missed them, but there are so many (I'm past 4000 line edits in the last month). Keep reporting, I'll keep fixing - there is not much left to do now.