Prepared Report Error, v13 to v14

After upgrading from V13 to V14, note I installed payment, HRM apps and my custom app. All seem installed fine except HRM errors.

Issue I encountered now is in the Stock Balance report
File “apps/frappe/frappe/utils/”, line 1612, in get_url
domain = frappe.local.conf.wildcard.get(“domain”)
AttributeError: ‘list’ object has no attribute ‘get’

Is it your local system?

The issue is definitely from certbot, the wildcard conf is throwing the error.
In version 13 no issue but on upgrade to version 14 this error is showing up, don’t know yet how to solve it but if you got the solution I will be more than happy to try your solution