Yeah flux does that sometimes when it dries up in a thick enough layer to prevent you from properly getting a soldering iron in there, its easily cleaned away.
However the top pad there instead looks like it was ripped off the board and you are actually looking at the brown PCB core material. The bottom pad looks fine. No worries you can just solder the component to the bottom pad only, scrape off some of the green soldermask of the trace leading into the missing pad to expose the copper, then just put down a larger blob of solder to bridge over to it.