Issue with sending arrays through RF

I am working on project that requires 12 LEDs to be controlled using RF modules.
I have everything working except for one button.
I believe it is a coding issues, as I have check all of the hardware, but can not figure out what is wrong with my code.

the button not working is but11 which is connect to pin 12 on the Arduino

Here is my Transmitter code

#include <RH_ASK.h>
#ifdef RH_HAVE_HARDWARE_SPI
#include <SPI.h> // Not actually used but needed to compile
#endif


RH_ASK driver (2000, 11, 13, 0);

int a[19]={0};
int s=0;
int but1pin   = 2 ;
int but1new;
int but1old = 1;
int but2pin   = 3 ;
int but2new;
int but2old = 1;
int but3pin   = 4 ;
int but3new;
int but3old = 1;
int but4pin   = 5 ;
int but4new;
int but4old = 1;
int but5pin   = 6 ;
int but5new;
int but5old = 1;
int but6pin   = 7 ;
int but6new;
int but6old = 1;
int but7pin   = 8 ;
int but7new;
int but7old = 1;
int but8pin   = 9 ;
int but8new;
int but8old = 1;
int but9pin   = 10 ;
int but9new;
int but9old = 1;
int but10pin  = 11 ;
int but10new;
int but10old = 1;
int but11pin  = 12 ;
int but11new;
int but11old = 1;
int but12pin  = A0 ;
int but12new;
int but12old = 1;
int but13pin  = A1 ;
int but13new;
int but13old = 1;
int but14pin  = A2;
int but14new;
int but14old= 0;
int but15pin  = A3;
int but15new;
int but15old = 0;
int switchPin  =A4;
int spstate=0;
int spnew;
int spold = 0;
int but14state=0;
int but15state=0;
void setup() {

  #ifdef RH_HAVE_SERIAL
    Serial.begin(9600);    // Debugging only
#endif
    if (!driver.init())
#ifdef RH_HAVE_SERIAL
         Serial.println("init failed");
#else
  ;
#endif

pinMode(but1pin,INPUT);
pinMode(but2pin,INPUT);
pinMode(but3pin,INPUT);
pinMode(but4pin,INPUT);
pinMode(but5pin,INPUT);
pinMode(but6pin,INPUT);
pinMode(but7pin,INPUT);
pinMode(but8pin,INPUT);
pinMode(but9pin,INPUT);
pinMode(but10pin,INPUT);
pinMode(but11pin,INPUT);
pinMode(but12pin,INPUT);
pinMode(but13pin,INPUT);
pinMode(but14pin,INPUT);
pinMode(but15pin,INPUT);
pinMode(switchPin,INPUT);


}

void loop() {
for (int i = 0; i < 19; i++ ) {
    a[i] = 0;
}
but1new = digitalRead (but1pin);
but2new = digitalRead (but2pin);
but3new = digitalRead (but3pin);
but4new = digitalRead (but4pin);
but5new = digitalRead (but5pin);
but6new = digitalRead (but6pin);
but7new = digitalRead (but7pin);
but8new = digitalRead (but8pin);
but9new = digitalRead (but9pin);
but10new = digitalRead (but10pin);
but11new = digitalRead (but11pin);
but11new = digitalRead (but12pin);
but13new = digitalRead (but13pin);
but14new = digitalRead (but14pin);
but15new = digitalRead (but15pin);
spnew = digitalRead (but15pin);

if (but1old==0 && but1new ==1) { a[0]=1; delay(200);}
if (but2old==0 && but2new ==1) { a[1]=1; delay(200);}
if (but3old==0 && but3new ==1) { a[2]=1; delay(200);}
if (but4old==0 && but4new ==1) { a[3]=1; delay(200);}
if (but5old==0 && but5new ==1) { a[4]=1; delay(200);}
if (but6old==0 && but6new ==1) { a[5]=1; delay(200);}
if (but7old==0 && but7new ==1) { a[6]=1; delay(200);}
if (but8old==0 && but8new ==1) { a[7]=1; delay(200);}
if (but9old==0 && but9new ==1) { a[8]=1; delay(200);}
if (but10old==0 && but10new ==1) { a[9]=1; delay(200);}
if (but11old==0 && but11new ==1) { a[10]=1; delay(200);}
if (but12old==0 && but12new ==1) { a[11]=1; delay(200);}//End of LEDs
if (but13old==0 && but13new ==1) { a[12]=1; delay(200);}//Reset Button
if (but14old==0 && but14new==1 && but14state==0) { a[13]=1; but14state=1; delay(200);}
if (but14old==1 && but14new==0 && but14state==1) { a[14]=1; but14state=0; delay(200);}
if (but15old==0 && but15new==1 && but15state==0) { a[15]=1; but15state=1; delay(200);}
if (but15old==1 && but15new==0 && but15state==1) { a[16]=1; but15state=0; delay(200);}
if (spold==0 && spnew==1 && spstate==0) { a[17]=1; spstate=1; delay(200);}
if (spold==1 && spnew==0 && spstate==1) { a[18]=1; spstate=0; delay(200);}
s = 0;
for (int i = 0; i < 19; i++ ) {s = s+a[i]; }
if (s >0 ){
driver.send((const uint8_t*)a, sizeof(a));
  driver.waitPacketSent();
  delay(200);
  for (byte i = 0; i < 19; i++) {
      Serial.print(a[i]);
}
}
but1old=but1new;
but2old=but2new;
but3old=but3new;
but4old=but4new;
but5old=but5new;
but6old=but6new;
but7old=but7new;
but8old=but8new;
but9old=but9new;
but10old=but10new;
but11old=but11new;
but12old=but12new;
but13old=but13new;
but14old=but14new;
but15old=but15new;
spold=spnew;
}

Here is the receiver code.

#include <RH_ASK.h>
#ifdef RH_HAVE_HARDWARE_SPI
#include <SPI.h> // Not actually used but needed to compile
#endif

RH_ASK driver (2000, 11, 13, 0);

int led1pin= 2;
int led2pin= 3;
int led3pin= 4;
int led4pin= 5;
int led5pin= 6;
int led6pin= 7;
int led7pin= 8;
int led8pin= 9;
int led9pin= 10;
int led10pin= 12;
int led11pin= 13;
int led12pin= A0;
int c1pin= A1;
int c2pin= A2;
int c3pin= A3;
int switchPin= A4;
int d[19]={0};//LED states
int b[19]={0};//Incoming Signal
int c[19]={0};//Combine state and signal
void setup() {

#ifdef RH_HAVE_SERIAL
    Serial.begin(9600);    // Debugging only
    
#endif
    if (!driver.init())
#ifdef RH_HAVE_SERIAL
         Serial.println("init failed");
#else
  ;
#endif

pinMode (led1pin, OUTPUT);
pinMode (led2pin, OUTPUT);
pinMode (led3pin, OUTPUT);
pinMode (led4pin, OUTPUT);
pinMode (led5pin, OUTPUT);
pinMode (led6pin, OUTPUT);
pinMode (led7pin, OUTPUT);
pinMode (led8pin, OUTPUT);
pinMode (led9pin, OUTPUT);
pinMode (led10pin, OUTPUT);
pinMode (led11pin, OUTPUT);
pinMode (led12pin, OUTPUT);
pinMode (led10pin, OUTPUT);
pinMode (led11pin, OUTPUT);
pinMode (led12pin, OUTPUT);
pinMode (c1pin, OUTPUT);
pinMode (c2pin, OUTPUT);
pinMode (c3pin, OUTPUT);
pinMode (switchPin, OUTPUT);
}

void loop() {
  
  for (int i = 0; i < 19; i++ ) {
    b[i] = 0;
}
    uint8_t buflen = sizeof(b);
    if (driver.recv((uint8_t*)b, &buflen)) {

    for (byte i = 0; i < 19; i++) {
      Serial.print(b[i]);
}
}
for (int i=0; i<12; i++ ) { c[i] = b[i] + d[i]; } //Combine state with signal

if (c[0]== 1){ digitalWrite(led1pin, HIGH); d[0]=1; }
if (c[0]!= 1){ digitalWrite(led1pin, LOW);  d[0]=0; }
if (c[1]== 1){ digitalWrite(led2pin, HIGH); d[1]=1; }
if (c[1]!= 1){ digitalWrite(led2pin, LOW);  d[1]=0; }
if (c[2]== 1){ digitalWrite(led3pin, HIGH); d[2]=1; }
if (c[2]!= 1){ digitalWrite(led3pin, LOW);  d[2]=0; }
if (c[3]== 1){ digitalWrite(led4pin, HIGH); d[3]=1; }
if (c[3]!= 1){ digitalWrite(led4pin, LOW);  d[3]=0; }
if (c[4]== 1){ digitalWrite(led5pin, HIGH); d[4]=1; }
if (c[4]!= 1){ digitalWrite(led5pin, LOW);  d[4]=0; }
if (c[5]== 1){ digitalWrite(led6pin, HIGH); d[5]=1; }
if (c[5]!= 1){ digitalWrite(led6pin, LOW);  d[5]=0; }
if (c[6]== 1){ digitalWrite(led7pin, HIGH); d[6]=1; }
if (c[6]!= 1){ digitalWrite(led7pin, LOW);  d[6]=0; }
if (c[7]== 1){ digitalWrite(led8pin, HIGH); d[7]=1; }
if (c[7]!= 1){ digitalWrite(led8pin, LOW);  d[7]=0; }
if (c[8]== 1){ digitalWrite(led9pin, HIGH); d[8]=1; }
if (c[8]!= 1){ digitalWrite(led9pin, LOW);  d[8]=0; }
if (c[9]== 1){ digitalWrite(led10pin, HIGH); d[9]=1; }
if (c[9]!= 1){ digitalWrite(led10pin, LOW);  d[9]=0; }
if (c[10]== 1){ digitalWrite(led11pin, HIGH); d[10]=1; }
if (c[10]!= 1){ digitalWrite(led11pin, LOW);  d[10]=0; }
if (c[11]== 1){ digitalWrite(led12pin, HIGH); d[11]=1; }
if (c[11]!= 1){ digitalWrite(led12pin, LOW);  d[11]=0; }//END of LEDs

if (c[12]== 1){ digitalWrite(c1pin, HIGH); d[10]=1; }
if (c[12]!= 1){ digitalWrite(c1pin, LOW);  d[10]=0; }//Reset Button
if (b[13]== 1){ digitalWrite(c2pin, HIGH);}
if (b[14]== 1){ digitalWrite(c2pin, LOW); }
if (b[15]== 1){ digitalWrite(c3pin, HIGH);}
if (b[16]== 1){ digitalWrite(c3pin, LOW); }
if (b[17]== 1){ digitalWrite(switchPin, HIGH);}
if (b[18]== 1){ digitalWrite(switchPin, LOW); } //clock toggles





for (int i = 0; i < 19; i++ ) {
    b[i] = 0;
}
}

If anyone can see the issue that would be greatly appreciated.

I'm not sure why but11 is not working but it looks like but10 pin is pin 11 and is also configured as the rx pin for the RH_ASK driver. Fix that and see what happens.