Bones mirroring problem

G’day everyone
I have this issue when attemping to mirror the armature pose on my walk cycle

Seems that the leg bones are flip on the z axis and the arm bones flip on both Y and Z axis?
How can i solve this?

Initially i was animating with the character facing the other side (Y axis flip) and wnt this way when i found this issue trying to solve it but didn’t work.