Problems switching from solder less breadboard to soldered

I connected the wires for a voice recording module from sparkfun (SparkFun Voice Recorder Breakout - ISD1932 - BOB-10653 - SparkFun Electronics) on a solder less bread board and had it running just fine with this function.

long previousMillis = 0;        // will store last time LED was updated

// the follow variables is a long because the time, measured in miliseconds,
// will quickly become a bigger number than can be stored in an int.
long interval = 5000;           // interval at which to blink (milliseconds)
int SOUND = 1;
const int PULSE = 48;
int rec = 37;

void VOICE(){
   pinMode(48, OUTPUT);
   unsigned long currentMillis = millis();
   
 if(currentMillis - previousMillis > interval) {
    // save the last time you played the recording
    previousMillis = currentMillis;   


    if (SOUND == 1)
   SOUND = 0;
   else 
  SOUND = 1;
    
  digitalWrite(PULSE, SOUND);
 }
}

I then transferred what was on the solder less breadboard onto one that I could solder and after that the function stopped working. Does anyone know why? and if so how I can fix it?

Check your wiring and/or maybe you cooked something.

The module works without an arduino and I’ve tested it with only the wires and it still records and plays back. Whats odd is that I need to physically disconnect the wire thats connected from “REC” to the +5V pin and plug it back into the +5V in order to have it start playing back the message again.