Thanks Mark, I tried removing the function entirely, reloaded the page, and put it back in. Perhaps you tried during that timespan. I just reloaded again and have retried the exact thing you did and I get an error.
Strange resolution : instead of passing my function directly as an argument in another, I declared a variable and used the variable in the parent function. No more issue
It works so let’s not spend any more time on this, but I admit I don’t understand what the issue was.