Coding error help me asap thankss

can anyone help me to solve this problem?

C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino: In function 'void listen_push_buttons()':
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:4:20: error: 'button1_pin' was not declared in this scope
     if(digitalRead(button1_pin) == LOW){
                    ^~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:7:7: error: 'Blynk' was not declared in this scope
       Blynk.virtualWrite(button1_vpin, relay1_state); //update button state
       ^~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:7:7: note: suggested alternative: 'link'
       Blynk.virtualWrite(button1_vpin, relay1_state); //update button state
       ^~~~~
       link
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:7:26: error: 'button1_vpin' was not declared in this scope
       Blynk.virtualWrite(button1_vpin, relay1_state); //update button state
                          ^~~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:7:40: error: 'relay1_state' was not declared in this scope
       Blynk.virtualWrite(button1_vpin, relay1_state); //update button state
                                        ^~~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:7:40: note: suggested alternative: 'eTaskState'
       Blynk.virtualWrite(button1_vpin, relay1_state); //update button state
                                        ^~~~~~~~~~~~
                                        eTaskState
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:10:26: error: 'button2_pin' was not declared in this scope
     else if (digitalRead(button2_pin) == LOW){
                          ^~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:13:7: error: 'Blynk' was not declared in this scope
       Blynk.virtualWrite(button2_vpin, relay2_state); //update button state
       ^~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:13:7: note: suggested alternative: 'link'
       Blynk.virtualWrite(button2_vpin, relay2_state); //update button state
       ^~~~~
       link
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:13:26: error: 'button2_vpin' was not declared in this scope
       Blynk.virtualWrite(button2_vpin, relay2_state); //update button state
                          ^~~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:13:40: error: 'relay2_state' was not declared in this scope
       Blynk.virtualWrite(button2_vpin, relay2_state); //update button state
                                        ^~~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:13:40: note: suggested alternative: 'eTaskState'
       Blynk.virtualWrite(button2_vpin, relay2_state); //update button state
                                        ^~~~~~~~~~~~
                                        eTaskState
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:16:26: error: 'button3_pin' was not declared in this scope
     else if (digitalRead(button3_pin) == LOW){
                          ^~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:19:7: error: 'Blynk' was not declared in this scope
       Blynk.virtualWrite(button3_vpin, relay3_state); //update button state
       ^~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:19:7: note: suggested alternative: 'link'
       Blynk.virtualWrite(button3_vpin, relay3_state); //update button state
       ^~~~~
       link
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:19:26: error: 'button3_vpin' was not declared in this scope
       Blynk.virtualWrite(button3_vpin, relay3_state); //update button state
                          ^~~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:19:40: error: 'relay3_state' was not declared in this scope
       Blynk.virtualWrite(button3_vpin, relay3_state); //update button state
                                        ^~~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:19:40: note: suggested alternative: 'eTaskState'
       Blynk.virtualWrite(button3_vpin, relay3_state); //update button state
                                        ^~~~~~~~~~~~
                                        eTaskState
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:22:26: error: 'button4_pin' was not declared in this scope
     else if (digitalRead(button4_pin) == LOW){
                          ^~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:25:7: error: 'Blynk' was not declared in this scope
       Blynk.virtualWrite(button4_vpin, relay4_state); //update button state
       ^~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:25:7: note: suggested alternative: 'link'
       Blynk.virtualWrite(button4_vpin, relay4_state); //update button state
       ^~~~~
       link
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:25:26: error: 'button4_vpin' was not declared in this scope
       Blynk.virtualWrite(button4_vpin, relay4_state); //update button state
                          ^~~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:25:40: error: 'relay4_state' was not declared in this scope
       Blynk.virtualWrite(button4_vpin, relay4_state); //update button state
                                        ^~~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:25:40: note: suggested alternative: 'eTaskState'
       Blynk.virtualWrite(button4_vpin, relay4_state); //update button state
                                        ^~~~~~~~~~~~
                                        eTaskState
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino: In function 'void control_relay(int)':
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:38:5: error: 'relay1_state' was not declared in this scope
     relay1_state = !relay1_state;
     ^~~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:38:5: note: suggested alternative: 'eTaskState'
     relay1_state = !relay1_state;
     ^~~~~~~~~~~~
     eTaskState
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:39:18: error: 'relay1_pin' was not declared in this scope
     digitalWrite(relay1_pin, relay1_state);
                  ^~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:39:18: note: suggested alternative: 'relay'
     digitalWrite(relay1_pin, relay1_state);
                  ^~~~~~~~~~
                  relay
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:46:5: error: 'relay2_state' was not declared in this scope
     relay2_state = !relay2_state;
     ^~~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:46:5: note: suggested alternative: 'eTaskState'
     relay2_state = !relay2_state;
     ^~~~~~~~~~~~
     eTaskState
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:47:18: error: 'relay2_pin' was not declared in this scope
     digitalWrite(relay2_pin, relay2_state);
                  ^~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:47:18: note: suggested alternative: 'relay'
     digitalWrite(relay2_pin, relay2_state);
                  ^~~~~~~~~~
                  relay
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:52:5: error: 'relay3_state' was not declared in this scope
     relay3_state = !relay3_state;
     ^~~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:52:5: note: suggested alternative: 'eTaskState'
     relay3_state = !relay3_state;
     ^~~~~~~~~~~~
     eTaskState
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:53:18: error: 'relay3_pin' was not declared in this scope
     digitalWrite(relay3_pin, relay3_state);
                  ^~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:53:18: note: suggested alternative: 'relay'
     digitalWrite(relay3_pin, relay3_state);
                  ^~~~~~~~~~
                  relay
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:58:5: error: 'relay4_state' was not declared in this scope
     relay4_state = !relay4_state;
     ^~~~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:58:5: note: suggested alternative: 'eTaskState'
     relay4_state = !relay4_state;
     ^~~~~~~~~~~~
     eTaskState
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:59:18: error: 'relay4_pin' was not declared in this scope
     digitalWrite(relay4_pin, relay4_state);
                  ^~~~~~~~~~
C:\Users\User\AppData\Local\Temp\.arduinoIDE-unsaved2024422-12576-bg2tvt.15qem\sketch_may22d\sketch_may22d.ino:59:18: note: suggested alternative: 'relay'
     digitalWrite(relay4_pin, relay4_state);
                  ^~~~~~~~~~
                  relay

exit status 1

Compilation error: 'button1_pin' was not declared in this scope

Unlikely until you post your sketch

In my experience the easiest way to tidy up the code and add the code tags is as follows

Start by tidying up your code by using Tools/Auto Format in the IDE to make it easier to read. Then use Edit/Copy for Forum and paste what was copied in a new reply. Code tags will have been added to the code to make it easy to read in the forum thus making it easier to provide help

//MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
void listen_push_buttons(){
    //--------------------------------------------------------------------------
    if(digitalRead(button1_pin) == LOW){
      delay(200);
      control_relay(1);
      Blynk.virtualWrite(button1_vpin, relay1_state); //update button state
    }
    //--------------------------------------------------------------------------
    else if (digitalRead(button2_pin) == LOW){
      delay(200);
      control_relay(2);
      Blynk.virtualWrite(button2_vpin, relay2_state); //update button state
    }
    //--------------------------------------------------------------------------
    else if (digitalRead(button3_pin) == LOW){
      delay(200);
      control_relay(3);
      Blynk.virtualWrite(button3_vpin, relay3_state); //update button state
    }
    //--------------------------------------------------------------------------
    else if (digitalRead(button4_pin) == LOW){
      delay(200);
      control_relay(4);
      Blynk.virtualWrite(button4_vpin, relay4_state); //update button state
    }
    //--------------------------------------------------------------------------
}
//MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM




//MMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMMM
void control_relay(int relay){
  //------------------------------------------------
  if(relay == 1){
    relay1_state = !relay1_state;
    digitalWrite(relay1_pin, relay1_state);
    Serial.print("Relay1 State = ");
    Serial.println(relay1_state);
    delay(50);
  }
  //------------------------------------------------
  else if(relay == 2){
    relay2_state = !relay2_state;
    digitalWrite(relay2_pin, relay2_state);
    delay(50);
  }
  //------------------------------------------------
  else if(relay == 3){
    relay3_state = !relay3_state;
    digitalWrite(relay3_pin, relay3_state);
    delay(50);
  }
  //------------------------------------------------
  else if(relay == 4){
    relay4_state = !relay4_state;
    digitalWrite(relay4_pin, relay4_state);
    delay(50);
  }
  //------------------------------------------------
}

When I suggested posting your sketch I meant the whole of it, not just a snippet. That way we can see where, if anywhere, the offending variables are declared