Refrig and freezer not cooling

I noticed water on the floor, checked the freezer and found it warm. I checked the fan at the compressor and found it working. I checked the fan in the freezer and it was not working. After leaving the doors open for about 30 minutes I noticed that the fan in the freezer started to run. The freezer seemed to be cooling. I pushed it back in place and kept checking it. After about an hour after I last checked it I found the fan to be off again and the freezer not cooling.

Seems like a bad motherboard, AP4436216. Before replacing, check the back of the board for bad solder connections at the power relay area.