Oh? This is the first time I've heard of it. I'm not one of those climate change/global warming freaks who thinks oil/electricity/car smog is going to bring about the doom of mankind, but you're telling me that this destroys the environment?
Depending on where it is built, yes. In most of Europe, for example, the total environmental cost of manufacturing, shipping, and installing those solar panels exceeds the expected carbon reduction from their lifespan compared to fossil fuels (although I'm not positive about coal specifically, I know NatGas is cleaner total life cycle than most EU solar).
When you factor in all of the ancillary costs, the situation gets even more pro fossil fuel.
I mean electric cars? They are, net, dirtier than modern internal combustion cars. That one is somewhat a side effect of the fact that auto ICE's are incredibly clean and efficient while most grid electric generation is actually less environmentally friendly.
Solar and Wind are also strongly environment dependent, which means you need an alternative energy source so that the grid has consistent, reliable, power. Storing electricity directly at scale is horrifically inefficient. But what this means is that in addition to the environmental cost of the solar panels you also need to include the environmental cost of all the additional ancillary infrastructure needed to make it a viable power source.
In some places Solar and Wind make a great deal of sense (Texas for example, likely to be the first state to really go green for its power generation), in other places (most of Europe for example) Solar & Wind are farcical and it would be better for the environment to just burn the trillions in cash spent trying to make Europe green.
EDIT: And we always forget geothermal, which is kinda sad because that really is an area that should see a ton more investment. Consistent, reliable, safe, clean, power. Of course, the viable geographies are relatively limited. And no one wants to pour tons of money into trying to make geo more cost effective/more broadly viable for some inane reason that I've never figured out beyond "it's not as sexy".