A solar farm doesn't need to be weeded, ploughed, planted, weeded again, topped, and harvested every year like corn does. You also don't need to ferment it to ethanol then burn it at a 70% loss to power a set of wheels.
Possible also that the vegetation growing between and under the panels sequesters carbon.