How to save a dish with an onion paste base which tastes like raw onion paste?
Guess my first instinct to heat some oil and fry it off was correct.

Had the base in the fridge and instead of throwing it away thought I'd try it out, and it worked.

Though there was still a hint of raw onion paste, it wasn't as bad as earlier, and could taste the other ingredients too.