I came across an earth leakage which trips on whichever circuit I switched on.

With only the Main breaker and the earth leakage switched on, the earth leakage stays on and operates normally when the test button is pressed. However when I switch on any of the other circuits ( plugs, lights, ect.), the unit trips. I replaced the Earth leakage and the same problem persists.

Any idea what the problem might be?