Hi Saad,
Do you know if you made any code changes recently that could have caused this error?
“I haven’t made any changes to the code, but it’s still showing an error.”
In that case I recommend reaching out to Shopify Support directly - since the theme is Dawn, there are specialists who can assist you with this.