[Solved] Arduino Blynk Library- BlynkApi.h error

I receive this error when compiling a simple sketch for Arduino Uno.

C:\Users\userl\Documents\Arduino\libraries\blynk-library-0.4.7\src/Blynk/BlynkApi.h:78:9: note:   candidate expects 2 arguments, 0 provided

             cmd.add_multi(values...);

             ^

I tried using different releases of the Arduino Blynk library including the latest ( v0.4.8), but they appear to have the same problem.
The sketch is shown below.

#define BLYNK_PRINT SwSerial


#include <SoftwareSerial.h>
SoftwareSerial SwSerial(10, 11); // RX, TX
    
#include <BlynkSimpleStream.h>

// You should get Auth Token in the Blynk App.
// Go to the Project Settings (nut icon).
char auth[] = "My Auth";


void setup()
{
  // Debug console
  SwSerial.begin(9600);

  // Blynk will work through Serial
  // Do not read or write this serial manually in your sketch
  Serial.begin(9600);
  Blynk.begin(Serial, auth);
}

void state(){
if (digitalRead(7) == HIGH)
{
  Blynk.virtualWrite(225);
}
else
{
  Blynk.virtualWrite(V7, 0);
  } // action B

}


void loop()
{
  Blynk.run();
  state;
  
}

This is the error in your code, needs to be a pin from 0 to 127 (or 0 to 31 if you have shoddy hardware) and then a value.