That is still NOT the complete error. Because the complete error has wayyyyyy more useful information. For example the line number where the error occurs
The example of the DHT sensor you use. Then you'll see they do it the correct way.
Sorry I didn't know that it wasn't the full because the full full is so long.
Here is some more...
In function 'void loop()':
Temp_and_Humidity_Sensor:20: error: request for member 'humidity' in '2', which is of non-class type 'int'
lcd.print((float)DHTPIN.humidity, 2;
^
Temp_and_Humidity_Sensor:20: error: expected ')' before ';' token
lcd.print((float)DHTPIN.humidity, 2;
^
Using library DHT-sensor-library-master at version 1.3.0 in folder: /Applications/Arduino.app/Contents/Java/libraries/DHT-sensor-library-master
Using library LiquidCrystal at version 1.0.5 in folder: /Applications/Arduino.app/Contents/Java/libraries/LiquidCrystal
Using library Adafruit_Sensor-master at version 1.0.2 in folder: /Users/johanntorres/Documents/Arduino/libraries/Adafruit_Sensor-master
exit status 1
request for member 'humidity' in '2', which is of non-class type 'int'
You REALLY need to think about what you are doing, and you need to explain why you are (ab)using the comma operator this way.
lcd.print((float)DHTPIN. humidity 2;
What do you think this rubbish is doing? Promoting an int to a float, and printing with two decimal places appears to be what you think you are doing. You are NOT.
Even if you add the missing comma (there was one from the previous snippet that you could move), and the missing close parentheses, the call STILL won't make sense.
Printing the int and then ".00" is just plain silly.
While it's definitely not the only error with that line, if you can't tell that you're missing a closing parenthesis on that line then you need to put this away for a while and spend some time with some C++ tutorials and some Arduino examples before you try to move up to writing your own code.
/Users/johanntorres/Documents/Arduino/Temp_and_Humidity_Sensor/Temp_and_Humidity_Sensor.ino: In function 'void loop()':
Temp_and_Humidity_Sensor:17: error: expected primary-expression before '.' token
int chk = DHT.read(dhtPIN);
^
Temp_and_Humidity_Sensor:20: error: request for member 'humidity' in '2', which is of non-class type 'int'
lcd.print((float)dhtPIN.humidity, 2);
^
Temp_and_Humidity_Sensor:25: error: request for member 'temperature' in '2', which is of non-class type 'int'
lcd.print((float)dhtPIN.temperature, 2);
^
Using library dht11 at version 1.3.0 in folder: /Applications/Arduino.app/Contents/Java/libraries/dht11
Using library LiquidCrystal at version 1.0.5 in folder: /Applications/Arduino.app/Contents/Java/libraries/LiquidCrystal
Using library Adafruit_Sensor-master at version 1.0.2 in folder: /Users/johanntorres/Documents/Arduino/libraries/Adafruit_Sensor-master
exit status 1
expected primary-expression before '.' token