Subwoofer Amplifier Repair Help!?

Can you tell me if it can be repaired and if so, what parts do I need? And for the context, my subwoofer started making a loud noise when is on. I opened it to look at the amplifier and noticed that there was a melted brown substance that I removed, you can still see the traces where it was. And now I see that some parts at the base are melted!? What can I do?
 

Attachments

  • IMG_2651.jpeg
    IMG_2651.jpeg
    375.3 KB · Views: 94
  • IMG_2654.jpeg
    IMG_2654.jpeg
    356.5 KB · Views: 98
From your pictures, it's hard to tell what may be glue and what may be something else going on. See discussion here:

https://sound-au.com/articles/yellow-glue.htm

What brand is the subwoofer? Does it have a hum at line frequency or some other kind of noise? Without more information, it's harder for people to help.

Sometimes it makes sense to replace the amp completely either by finding one like yours used on eBay (or wherever) or buying a new plate amp.
 
Electrolyte (the brown substance) leaked from one or more of the capacitors. They may all be near end of life.
They are usually marked with a band on the cathode side of the capacitor indicating the negative terminal but there are some exceptions. The value in μF (microfarads) needs to be close to the specification, the value of V (volts) should be equal or greater than the one printed on the case.
The electrolyte is electrically conductive, the leakage may also have caused other components to fail.

Can't tell what other parts need to be replaced from the photo.
 
Can you tell me if it can be repaired and if so, what parts do I need?
To answer, troubleshooting is needed, meaning measurements, taking voltage tests, etc.
A picture or verbal description is not enough.
And for the context, my subwoofer started making a loud noise when is on.
Then probably your power amp died/shorted.
But we need tests.
We don't even know what the amplifier actually is, the schematic, not even brand and model ☹️
Hard to advance with zero information.
I opened it to look at the amplifier and noticed that there was a melted brown substance that I removed, you can still see the traces where it was. And now I see that some parts at the base are melted!? What can I do?
The brown substance looks like glue, applied in a somewhat sloppy way but not indicating a problem by itself.

Best is to take it to a local Tech who can see - touch - measure.
And even so, if it is a "mystery" brand or model, no schematics available, it will be hard for him.