The phrase
"stopgap solution" refers to a temporary fix or solution that is used when there is no better or permanent option available. It is a quick measure to address a problem or challenge, but it is not intended to be a long-lasting solution.
Full definition