Default Filter Widget Value

I get this error when I am trying to run this code, what are my options for fixing this?

Hi @Sheajj
Post “Diagnostic Info” from Admin > Troubleshooting.
And post the full query, so it’s possible to see where the variable is used.

@Sheajj The default widget is only applied to the saved question - if you are creating a new or editing existing question, then the filter widgets above the SQL query applies.