This is a reply to a previously locked thread.

The middle click button of the Logitech Performance Mouse MX is working in an erratic way.

This is a known problem, many forums are full with this.
Logitech tech support suggests to send the mouse back for repair at the point of purchase, or contact them if not possible. For example amazon takes the mouse back for repair or replacement.

There is a DIY workaround here:

Or a technique to click here: