"Never heard anyone mention this issue" - forum members have described getting a shock from unconnected PV input.
@Will Prowse Disconnecting battery and grid inputs alone isn't enough. Need to also wait a while for charge on PV input capacitors to drain away. So check voltage of those too before starting work. Most of my SMA inverters, it says wait 15 minutes or so. I'm impatient, of course. When I see the LCD display go blank it is ready. At that point, the 400V has drained to about 30V.
The Sunny Boy 5000US I'm presently using says,
"1. Switch off all AC and DC breakers or switch-disconnectors. Ensure they cannot reconnect
accidentally.
2. Wait at least 5 minutes until the residual voltage has been drained."
MC connectors on inverter makes it easy to just connect PV+ and PV-, not think about ground. Need a separate ground wire from PV frames back to inverter. That will protect against shock from damaged or leaky module (some old Trina modules developed leakage), also protects against AC leakage current through PV panel capacitance.
When conduit is used for PV runs it is easier to include ground, and terminals may remind you.
I find mention of grounding PV panel frames in Sunny Boy 10000TL-US-12:
View attachment 135565
And the current SB5.0-1SP-US-41: "• Only ground the mounting frames of the PV modules."
And the earlier 5000US:
"PV Grounding
The grounding conductor in the framework of the PV array must be connected to the PV grounding
conductor and the DC grounding conductor (see section 4.2 ”Locating Internal Component Parts”
(page 20)). The cross-section of the grounding conductor corresponds to the cross-section of the
largest conductor in the DC system."