Keep on getting very many errors for the script and don't know how to fix them

 SPI.begin();  
  rfid.init();

etc, etc