Had an issue with my vauxhall corsa D 1.4L petrol (though this also applies to 1.2L). The engine oil light, and engine warning light would come on whilst driving and the engine would surge whilst driving and idle rough. First I checked the oil level which was okay. Then I checked for any oil leaks. This is when I noticed that the oil pressure switch was leaking. I plugged in my scan tool to read the codes behind the engine warning light and found:
P0171 System Too Lean Bank 1
P2191 System Too Lean at Higher Load Bank 1
What was happening was the leaking oil from the oil pressure switch was running along the wire connecting the oil pressure switch to the cars electronic systems, this oil would run along the engines wiring loom and eventually drip on to the lambda sensor.
I fixed this issue by:
* Replacing the oil pressure witch
* Replacing the lambda sensor
These were both easy to do. And the car has been running fine for the past 3 months.
Hope this info helps anyone with the same issue!