I was getting much the same error when trying to run a Coroutine from an OnTriggerEnter event…
It turned out to be a type casting problem that the compiler did not report. I would advise to double-check the code to ensure that variables are all being explicitly typed.