Such memes are created by people who can not balance their checkbook.
They skip over simple realities and assume a PV panel with 20 year performance warranty will be dead unusable 20 years and 1 day later. The fact is while it might have been a 240W panel and is only producing 200W, that it is still producing 200W and the only reason to replace it is to install a new higher output panel. Leave it alone, it costs nothing and is generating power.
But lets say there is now a 6 million tons/year supply of used solar panels? As Elon Musk said about used lithium batteries, "There is no richer source of raw materials." Used solar panels are about 1000 times richer in the interesting stuff than ore mined from the ground. Those darn Capitalists will step in and make a profit from used PV panels! Assuming we have any resemblance of a Capitalist Economy in 2050.