You’ll need to replace the logic board [https://www.ebay.com/i/264393770813?|Nikon D5600 Motherboard Main Board with SD Storage Card Slot].
open