Unpleasant consequences of trouble at the farm (9)
I believe the answer is:
aftermath
'unpleasant consequences' is the definition.
'aftermath' can be an answer for 'consequences' (the aftermath of something is its consequences). I'm not sure about the 'unpleasant' bit.
'trouble at the farm' is the wordplay.
'trouble' indicates anagramming the letters.
'at'+'the'+'farm'='atthefarm'
'atthefarm' with letters rearranged gives 'AFTERMATH'.
'of' acts as a link.
Can you help me to learn more?
(Other definitions for aftermath that I've seen before include "Circumstances that follow an event" , "End" , "Consequences of a bad event" , "Consequences of an unpleasant event" , "Frame that in following events" .)