Lcd.print() won't work

This solved my issue! Many thanks. However, it also created another error: In the method getLines() the two Strings can't be added together anymore. Do you know how to do that? Thanks again for your very helpful answer!
SOLUTION: I wrote string again in front of the method, it should instead have been String