Are you using febuilder? If so, send a report7z on this thread or on discord’s #febuilder_help
There’s a feature that compares the data between two roms. If you have a backup (febuilder makes these automatically) and can find the last working status screen version, it might be possible to restore your latest version.
If you were using buildfiles you could just not #include the file that broke things.
Either way, we can’t offer any assistance without seeing at least the .ups file. Typically report.7z’s are looked at the next day by the wonderful 7743 who made febuilder.