After several months of looking for issues in my car, I have finally fixed most of them, except for the "catalytic converter" light and the sudden shut off of the motor.
Today I turned on the car while being completely cool and it turned on perfectly fine. It was running well until it reached about 90° C (the needle was in the exact middle of the display) and as soon as the cooling fan turned on, the car shut off. I then tried to turn it on again but as soon as it turned on, it shut off again. I then tried to accelerate a little bit right after turning it on and it managed to stay running a few more minutes before shutting off itself again.
What could be the problem? I have replaced all the oil, coolant liquid, spark plugs and filters with new ones and this is the only issue that's left. Some people even told me that it was just a matter of "ressetting" the "sensors" with a scanner but what do you think? will this work?
My car is a Chevrolet (not Opel) Corsa 2002 made in Germany and bought in Mexico.
Edit:
Solution here: Gas pedal not responding