This energy payback question is a bit of a trope, and has been used for decades to 'debunk' renewable energy. Following citations from these skeptic work often lead back and back to 'data' in the 70s or earlier. Which is obv obsolete.
The claim is absurd on its face. If making PV cost nearly as much energy as it generates in its lifetime, then that would be reflected in the manufacturing cost (plus materials). That higher cost would make the economic payback very long to the point that solar would be unprofitable. Skeptics then assert that PV IS unprofitable, being supported entirely by govt grants, etc. Again, that might have been true (enough) decades ago (which is why we didn't build out solar then), but its not true now.
Peer-reviewed papers (from those scientists) from the last few years indicate that the EROI (Energy Return On Investment) of solar PV is >10 and increasing. This ofc assumes that you put the PV somewhere that the sun actually shines.
This is consistent with another concept: the time it takes for a solar panel to return the amount of energy required to make it (another trope of solar skeptics). Depending on location, this is typically 2-3 years maximum. Given the 20-30 year lifespan of the panel, this agrees with a minimum EROI of 10.
So, what was the EROI decades ago? Why is it 'increasing' now? There is economic pressure to make panels that cost less per watt they produce. You can do this by using less silicon by making the cells thinner. You can do this by making the cells more efficient per area of silicon. And the same forces that have led solar PV to get 1000X cheaper since 1970 have also increased the EROI.
The EROI for wind is similar or better, and has followed a similar story.
Looking at his wiki page:
https://en.wikipedia.org/wiki/Matt_Ridley#Climate_change
he seems to be a bit of a gadfly, staking out controversial opinions on a variety of current issues, He is not a scientist in climate or energy.