You cannot run flows that have errors in them. Even if the sub-flow is never called, if it has an error, it will prevent the entire flow from being compiled. You need to either fix the errors, or disable/delete the actions that cause the error. When you do that, you will be able to run your flow.
See the errors and warnings on the bottom of the designer window to find all errors and fix them.
-------------------------------------------------------------------------
If I have answered your question, please mark it as the preferred solution. If you like my response, please give it a Thumbs Up.
I also provide paid consultancy and development services using Power Automate. If you're interested, DM me and we can discuss it.