ERROR INITIALIZING LCD AT VOID SETUP()

Please I'm having and initialization error with my LCD. All that I'm trying to do it transmit my DHT sensor data to a website will displaying it also on a 16 BY 2 LCD. the error is at the void setup() function. When i upload the code the error message below pops up. please can anyone help me? AFTER UPLOAD THE CODE THIS IS HIGHLIGHTED," lcd.init();" the error message that come is "WITH THIS CONTEXT"

Arduino: 1.8.13 Hourly Build 2020/02/19 03:33 (Windows 10), Board: "Generic ESP8266 Module, 80 MHz, Flash, Legacy (new can return nullptr), All SSL ciphers (most compatible), dtr (aka nodemcu), 26 MHz, 40MHz, DOUT (compatible), 1MB (FS:64KB OTA:~470KB), 2, nonos-sdk 2.2.1+100 (190703), v2 Lower Memory, Disabled, None, Only Sketch, 115200"

In file included from C:\Users\USER.000\Documents\Arduino\esp\esp.ino:21:0:

C:\Users\USER.000\Documents\Arduino\libraries\NewLiquidCrystal_lib/LiquidCrystal_I2C.h: In function 'void setup()':

C:\Users\USER.000\Documents\Arduino\libraries\NewLiquidCrystal_lib/LiquidCrystal_I2C.h:185:9: error: 'int LiquidCrystal_I2C::init()' is private

int init();

^

esp:45:12: error: within this context

lcd.init(); // initializing the LCD

^

Multiple libraries were found for "ESP8266WebServer.h"
Used: C:\Users\USER.000\AppData\Local\Arduino15\packages\esp8266\hardware\esp8266\2.7.1\libraries\ESP8266WebServer
Not used: C:\Users\USER.000\Documents\Arduino\libraries\ESPWebServer-master
Multiple libraries were found for "LiquidCrystal_I2C.h"
Used: C:\Users\USER.000\Documents\Arduino\libraries\NewLiquidCrystal_lib
Not used: C:\Users\USER.000\Documents\Arduino\libraries\LiquidCrystal_I2C-1.1.2
Not used: C:\Users\USER.000\Documents\Arduino\libraries\NewliquidCrystal
exit status 1
within this context

This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.

FROM THE BEGINING OF THE CODE TO WHERE THE ERROR IS AS SHOWN BELOW:

#include <ESP8266WiFi.h>
#include <WiFiClient.h>
#include <ESP8266WebServer.h>
#include <DHT.h> //This library you can add under Manage Library
#include <ESP8266mDNS.h>
#include <Wire.h> // This library is already built-in
#include <LiquidCrystal_I2C.h> //Add this library in the Manage Library
LiquidCrystal_I2C lcd(0x27,2,1,0,4,5,6,7,3,POSITIVE);

#define DHTPIN 11 //define as DHTPIN the Pin 11 used to connect the Sensor
#define DHTTYPE DHT11 //define the sensor (DHT11)
DHT dht(DHTPIN, DHTTYPE);//create an instance of DHT
const char* host = "http://prefarmapi.herokuapp.com"; //IP Address Of The ESP. Ex 192.168.0.xxx/api
const char* ssid = "Ku";
const char* password = "alori";

ESP8266WebServer server(80);
float humidity, temp_f; // Values read from sensor
String webString="";
unsigned long previousMillis = 0; // will store last temp was read
const long interval = 2000; // interval at which to read sensor

void handle_root() {
server.send(200, "text/plain", "Welcome, open /temp, /humidity or /api");
delay(100);
}

void setup(void)
{
Serial.begin(115200);
lcd.init(); // initializing the LCD
lcd.backlight();
dht.begin(); // initialize temperature sensor
// Connect to WiFi network
WiFi.begin(ssid, password);
Serial.print("\n\r \n\rWorking to connect");
// Wait for connection
while (WiFi.status() != WL_CONNECTED) {
delay(500);
Serial.print(".");
}

I REALLY NEED HELP

Please I'm having and initialization error with my LCD

No, you're having a compilation error.
Not a bootloader issue either.

Open up

C:\Users\USER.000\Documents\Arduino\libraries\NewLiquidCrystal_lib/LiquidCrystal_I2C.h

and see if has a "begin" method.

Please remember to use code tags when posting code

@kumie

Your topic was Moved to it's current location / section as it is more suitable.

Could you also take a few moments to Learn How To Use The Forum.
Other general help and troubleshooting advice can be found here.
It will help you get the best out of the forum in the future.

Arduino: 1.8.13 Hourly Build 2020/02/19 03:33

Why use the hourly build of the IDE instead of one that has been released and used extensively ?
Has it got some desperately needed functionality that you can't live without ?

There are several libraries that have a LiquidCrystal_I2C class.
They don't all work the same and they don't all have the same APIs.
Because of this, when using the LiquidCrystal_I2C class, you must ensure that your code is written for the library you are using.
The newLiquidCrystal library that you are using does not include an init() function in its API.
Yes it does have an init() function but it is an internal private function that is not available to code outside the library not is it intended for use outside of the library itself

Making this more complicated, is that you have multiple Libraries installed that contain a LiquidCrystal_I2C class and two of them are the newLIquidCrystal library and neither is really installed properly.
Whenever there are header file collisions, it can be unpredictable which library the IDE will pick and it can vary depending on which version of the IDE is used.

My strong suggestion is that if you want to use a library with a LiquidCrystal_I2C class, only install a single library with that class.
Make sure that it is installed properly, then write your code to use that library.

You may want to have a look at the hd44780 library as it is easily installed with the IDE library manager, and not as zip file, so it will be installed properly.

It auto configures everything for you.
If you decide to use it, first spend a few minutes looking over the included documentation (see the Documentation sketch) so you understand the i/o class structure and example layout.
The i/o class you will use for the i2c backpack you appear to have will be the hd44780_I2Cexp i/o class.
First thing to do will be run the I2CexpDiag to verify that everything is working properly.
Then you can look at the other hd44780_I2Cexp i/o examples.

--- bill