Hi josnyder ! You've found my issue. It's was the manageVars plugin. It
was present in the older code and the clearVars function was being
overwritten by the plugin. I've completely removed the plugins
(manageVars and clearVars). And now we're good to go! Thank you for
sharing this tip. I was pulling my hair on this.