GGplot graph: problem with the x-axis values: appearing in the wrong place on the graph

What does Errortrial look like? Why are all the values on the left hand side? A reproducible example would be useful: