The runtime version error is likely preventing deployments. it usually when there's a mismatch between the expected runtime version and the one configured for the slot.
I will recommend you compare the FUNCTIONS_EXTENSION_VERSION setting in both slots and check if thery are valid versions.
You can try CLI similar to below and replace appropriately.
az functionapp config appsettings set --name <app-name> --resource-group <resource-group-name> --slot <slot-name> --settings FUNCTIONS_EXTENSION_VERSION=~4
**
You can mark it 'Accept Answer' and 'Upvote' if this helped you**
Regards,
Abiola