I think, that's some glue (sometimes waxe) to fix parts and not caused by leaked capacitors. It's not a perfect but cheap/common method to prevent failures from vibrating parts or changing values/adjustments in some high-frequency application.
I don't think, that that's your problem. Look for could solder points, bad (corroded) contacts, broken copper, cracks on the pcb...
Saludos Wolfgang