I suspect what the mechanic is talking about is the fact that if a car sits it has a tendency to set a cat inefficiency code.
If this is the code that was set, there are a chemicals that claim to get you to be able to pass emissions tests as they basically attempt to flush the fuel system and contain a chemical that will clean the tips of the o2 sensors.
However, here are a couple guides that will help with the emission system and the most common causes of failing smog tests in CA:
https://www.2carpros.com/articles/smog-test-inspection-information
https://www.2carpros.com/articles/how-emission-control-systems-work
If you have a check engine light on, then you will fail any states emissions test so if you do then we need the codes.
https://www.2carpros.com/articles/checking-a-service-engine-soon-or-check-engine-light-on-or-flashing
Lastly, I attached a picture of the most common chemical if you are having a catalytic converter code. My father-in-law just had the same thing on one of his cars and he added this and drove it about 20 miles and the light went out and he was able to pass emissions.
Clearly this is not definitive but worth a try if this was the issue. Let us know what codes are there and we can take the next steps. Thanks
Image (Click to make bigger)
Friday, October 8th, 2021 AT 7:40 PM