I ran couple times throught that error and can’t find any solution
error message from Heron or Elk : ‘OSGeo.GDAL.GdalPINVOKE’ threw an exception.
This solution worked 5 minutes for me -.-’ :
I removed every folders, gha component, .dll etc from the grasshopper component folder (where every plugin component are installed).
For me it was C:\Users\Charles\AppData\Roaming\Grasshopper\Libraries
I put back ONLY the Heron folder. I give it a try and the plugin worked just fine.
Then I put back all the other plugins I had
It worked correctly, then 5 min later throw me the same error …
I think plugins may interfere together causing that error