trouble with lcd.clear ();

hi, here is part of my code and the trouble is that it appears "exit status 1
request for member 'clear' in 'lcd', which is of non-class type 'int"

void modo_amarillo()
{

lcd.clear ();
digitalWrite (rojo, LOW);
digitalWrite (amarillo, LOW);
digitalWrite (verde, LOW);
}

and later on the coding the same error appears in this section

void modo_verde()
{
lcd.clear ();
digitalWrite (rojo, LOW);
digitalWrite (amarillo, LOW);
digitalWrite (verde, HIGH);
digitalWrite (zumbador, HIGH);
delay (100);
digitalWrite (zumbador, LOW);
delay (100);
digitalWrite (zumbador, HIGH);
delay (100);
digitalWrite (zumbador, LOW);
delay (100);
digitalWrite (zumbador, HIGH);
lcd.print ("Introducir pass: ");
lcd.setCursor (3,1);
i=0;

here is part of my code

Here is part of my answer. Why are you calling clear() on something that is not a