I don't get any errors with the code from post#1.

Well, at least not with the LCD.
I think you still have some problems in the code working with the DS18B20 though.