Only preternaturally delusional people don't realize that the sunlight goes to zero intensity for long periods every day.
Since they don't give a rat's ass about the environment, and care even less about human poverty, they like to pretend that solar energy is reliable, and worse, that it's clean and sustainable.
When electricity prices go to zero, electricity prices go to zero.
This makes all investments in electrical infrastructure worthless, including systems that are reliable. The cost is thus transferred to reliable systems, the redundant systems necessary to keep the lights on when the sun goes down, and when demand peaks are very high, which is in almost every country, the late afternoon and early evening hours. Because these systems are also worthless for the short periods that the sun is shining brightly, when clouds are absent, or the solar cells are covered with ash from burning forests resulting from a century of bullshit about solar and wind, which continue to produce trivial amounts of energy and have done nothing to address climate change.
This is why the highest consumer electricity prices in the world are found in countries with stupid energy policies like Germany and Denmark. Redundancy is not only expensive, it's environmentally disastrous.
It's not bourgeois people who bear this cost, assholes who make their own back up systems by buying expensive batteries because they can afford them. The cost falls on the poor.
Part what is driving the on going disaster of climate change is myopia and selective attention by advocates of tearing the shit out of the planet to put in solar crap and wind crap that will all be landfill in twenty years, while offering thermodynamic and environmentally contemptuous drivel about nonsense like hydrogen and batteries, neither of which are clean nor sustainable.
Have a pleasant Sunday.