Earlier quoted context omitted.
Official US agricultural policy and habitual farming practice have made growing maize together with beans and/or squash, tomatoes, and peppers nearly impossible to do competitively. That could be fixed with policy changes that would be fought by the biggest agribusinesses. Corn is among the most efficient natural converters of sunlight into chemical energy useful to the plant (with some left over for the farmer), but…
Global PV cell production is about 1 million square meters per annum. Global farmland is about 45 million square kilometers, approx 1e10 more. Lets say the solar panels cover 10% of the field. That 10% produces 10x as much, so you've approximately doubled your fields overall productivity. We're currently a factor of 1e9 short of producing enough to do so (and it's not like PV cells are not currently produced at scale…
It is also nonsense.
But even using the figure from a sibling reply, 1e5: so what? There is no need to put solar panels on every square km of farmland, or even on the 1/10th of it needed to fix the same calories; nor any value in trying or discussing trying.
If civilization does not collapse immediately, or even somewhat later, we will have centuries to build out solar. Future panels will last longer than today's, and be more efficient, and cheaper and lighter. Production, transport, and deployment will be increasingly automated. Today's production rate is not any kind of limit, and panels built today will not anyway evaporate next year. Build-out is cumulative.
Meanwhile, the nutritionally most valuable crops will not be displaced. Only cereal grains fed to animals are legitimate targets.
Furthermore, as I noted originally, panels placed in crop land will not displace crops, but coexist with them.