Won't crank it says check engine on 2008 Volvo S80

It happens after I park for 10 hours by the time it want crank at all ? Battery is new,start works well I already check it in auto zone what else I goon check?

Asked by for the 2008 Volvo S80
Scan the vehicle, and post the stored and pending codes here.
This will give us an idea of what is going on.
The guys at the parts store may recommend parts, but unless they conduct diagnostics, it is a guess.
Let me know what you get back, this could be a fuel issue, ignition issue, anti-theft issue, etc...