Not the whole story...
There's nothing wrong with solar, but as always you have to pay attention to the details. The story says "the 22 gigawatts furnished nearly 50 percent of Germanys electricity at the time". As the story says, it was 50% *at the time* -- a bright sunny day in late spring when the sun is near its highest in the sky. So what does Germany do at night or when it's cloudy? Why, it has to depend on the same old dirty fossil fuel plants it used before. In fact, it must maintain those plants indefinitely even though they are not being used much of the time because the country has no way of storing solar power.
The cost of maintaining fossil fuel plants when they're not being used is expensive. And of course when you do use them you have to pay for the fuel. So until Germany or someone else in the world comes up with cheap reusable storage, this is NOT a solution.