Temperature and humidity not showing on LCD display but Serial Monitor testing works fine arduino uno

From the link that I provided (emphasis added)

You don't have a problem with the IDE so it's moved again to a better location on the forum.