I guess it could be if you have an ‘if’ statement in a helper template.
The only way to know that is to look thru them and see which ones might have an ‘if’ statement in them.
if all else fails then you need to disable/remove them one at a time until the error goes away.
I have no idea how complicated that will be if they are created via the UI. I create all of mine in YAML and it’s as easy as commenting them out and reloading the yaml. I don’t know if there is an equally simple way of doing that for UI created items. My guess is that there likely isn’t.