Refrigerator Lights Out

Yesterday morning the lights and control panel indicator lights were out on the refrigerator side but the freezer side was still working fine - a few minutes later I opened the refrigerator door again and the lights and control panel indicator lights were back on like normal. Later in the evening everything is black again but the refrigerator is still cooling properly. When I push any of the buttons on the control panel the temperature indicator lights come on momentarily and then go out again.

Is this a case where I just need to replace the light bulbs or do I have a bigger issue since the indicator panel lights are staying on like they used to?

I would take a close look at the door switch. Sounds like the unit just doesn’t know the door is open. I’ll post a link to the switch below for reference.

GE WR23X23343 Switch Light - AppliancePartsPros.com