Literally, “to make fun of trouble”.
a face haz de necaz (third-person singular present face haz de necaz, past participle făcut haz de necaz) 3rd conj.