Applying changes from your project config files ... No site settings exist for section 20 Deploying on production is giving me this error.
Applying changes from your project config files ... No site settings exist for section 20
Deploying to stage is working no problem. Production isn't live yet. It uses the same database copied from stage.
Any ideas?
If it's a new environment with your staging database, then run this on your new production environment:
./craft project-config/rebuild
This will force-dump the config into the project-config YAML files from scratch, and include any small changes that might have happened to make way for the new environment, including pesky caches.