1999 C230 not starting

The next day it wouldn't start, it will crank but it won't catch. Can it be from the regular gas that was put into it (some kind of sensor that prevents it from starting) or what? I need some help here.
Besides you would have a cel on.
Charge it up fully with a charger.
Don't step on the gas while cranking over.Check that the fuel cap is on correctly.
keep them posted



