I don't understand why you did this "resetlog upgrade"
I would think this would break Data Guard.
I would consider recreating the Standby Database.
How I would have done it:
Disable log shipping from the Primary
Install 18.104.22.168 on Standby
Startup Standby in recovery mode do not run any upgrade SQL on the standby
Install 22.214.171.124 on Primary
Run upgrade SQL or DBUA on Primary
Re-enable log shipping
Monitor the redo apply from Primary to Standby --- this will also upgrade the Standby data dictionary
If you have flashback and the standby is ahead of the primary you might be able to flash it back.
select current_scn from v$database;