If it is indicating an open circuit, that likely means there is a broken wire or something disconnected. Yes, it could be the solenoid, but I would start by inspecting the wiring.
If you look at pic 1 below, it shows the location of the intake camshaft solenoid. Disconnect the wiring to it and inspect the connector, check for damaged wires, and for corrosion in the plug.
If everything checks good, I attached the directions for replacing it below. As far as the check engine light, it should reset itself after a set number of faultless running conditions.
Let me know if this helps or if you have other questions.
Images (Click to enlarge)
Saturday, July 24th, 2021 AT 9:03 PM