The solar panels are vulnerable to higher frequency EMP, but the effects are speculative mainly because nobody has really tested high frequency EMP-producing nuclear weapons. The turbines are primitive and should be resilient to most types of EMP. But I think solar would be fairly resilient too, and fine under a solar or lower frequency nuclear scenario.
Just admit you don’t know what will happen to modern electronics and quit pretending you do know.
The real answer is “it depends”. Turbines are not necessarily primitive, nor are the support electronics.
Solar Panels could partially survive, but their support electronics (inverters, battery chargers) very likely would not survive undamaged.