It all started about a year ago. I had to go to another city and the drive was about an hour long, it went perfectly fine. I left the car parked on the sun for about 2 hours, nothing special, on a region thats about 200 m over the sea level of my own region. The problem appeared when going back. About 5 minutes on the road back, the car suddenly stopped accelerating, as if the gas pedal was completely disconnected. We then proceeded to turn off the machine (after like 10 minutes idle) and turning it on again, and it worked. It worked fine for another 15 minutes before failing again, and this went on until I arrived. Fast forward a few months later and still has the same issue, but this time when the revs drop to about 1000 rpm, the engine idles roughly and the machine turns off, so all I do is keep it revving, but sometimes it just seems to ignore that the pedal is being pushed and drops to 1000 then dies. It went on like this for a few months and it's getting worse. Now it would die at any amount of rpms and also immediately after turning it on again, I don't even have a chance to rev up. I have to leave it off for about 30 minutes before being able to drive for another 5 minutes or so before it dies again, it even happens after turning it on from being cold (like in the morning, 6 am after being off for 12 hours). The catalytic converter light is also on, and it has been like this since even before the first incident.
What do you think? Many "mechanics" have told me it's the TPS sensor, some even say it's the whole computer. Some also say that their scanners didn't find anything. What would be the issue? Is it overheating? Is it the TPS? Is it some electrical issue? I am desperate.
I also have to say that in the past I used to leave the tank almost empty and sometimes it'd dry completely. Now I don't though. I also remember once a truck hit the back of my car and the light of the trunk got stuck in ON and I noticed until when the battery died, about 20 days after. The car is a Chevrolet Corsa 2002.
Edit:
Solution here: Gas pedal not responding