What are your ultimate goals? If it is competition style lifts you would benefit working with a physical therapist or, if you can find one, a coach that specializes in training with injuries - some sports medicine therapists are good and affordable. If just hypertrophy is your goal then switching to machines primarily might be the best approach. Machines support your body's position, can help vary the range of motion as needed, and changing the weight is moving a 5g pin instead of a 20kg plate.
Recent studies show that any rep range between 5 - 30 will cause hypertrophy as long as the set is performed to or very close to failure. I've recently switched to 12-15 rep range and my joints are feeling a thousand times better for it.