Here is the official EROI of solar panels on residential rooftops.
https://www.nrel.gov/docs/fy04osti/35489.pdf
That is the government doc. As all global warming document it is highly skewer they way they want you to believe.
Independent evaluations show a lot longer EROI, even infinite in cases of northern latitudes, e.g. Germany.