Stick-slip and slip-stick singularities of the Phan-Thien–Tanner fluid