Every year at some time I have to make a fruit fly trap.
A wide mouth jar, cider vinegar, and a cone of paper.
I made this one and within an hour I had fruit flies trapped.
A simple solution!