P0842 is related to transmission fluid pressure. would you please verify from Car ID plate the Tran/Axle code.
after the trans/axle code there is a chance that the TPS can be removed / replaced from outside.
Or else this can be sorted by draining the CVT in clean container and removal of tranmssion oil pan, The solenoid switch is either clogged with debris or has failed. 1st ask skilled person to wash clean the solenoid switch & re-test or simply replace the solenoid switch a new or a better looking one from scrap.
Reuse the CVT fluid drained in clean container.