R
Eris the guest has it right, but for idiots like me, here's a step-by-step (assuming you followed the 3ds hacks guide):
Download the latest Luma3ds files onto whatever you use to read/write your SD card (https://github.com/LumaTeam/Luma3DS/releases/tag/v10.2.1)
Unzip the files and place the contents of the zip folder (NOT the folder itself) into the root of the SD card.
Put the SD card back into the 3Ds, then boot the chainloader by pressing the power button while holding START.
Press HOME, select "Scripts", select "GM9Megascript", select "Scripts from Plailect’s Guide", select "Setup Luma3DS to CTRNAND". Unlock the SD card to do so.
Press "B", then select "Cleanup" the SD card.
(May not be necessary) Press "B", select "SysNAND Backup", wait for it to finish, then press HOME and select "Power off" to exit Godmode9 and finish the fix.