Multiple sensors not working

I'm building a sample program that uses one sonar Ping))) sensor and four IR distance sensors. When each one of these sensors is triggered, a corresponding LED should light up.

The sonar sensor works fine on its own. When I add a single IR sensor into the mix, the sonar sensor does not react, but the IR sensor does. I cannot progress further than this.

Assuming nothing is wrong with the code, what could be the problem? Thanks.

You may find it beneficial to post both your code- assumption notwithstanding- and a circuit diagram....