I had similar issues on my S5 recently. I completed a "one at a time" print overnight, and the next day was having this error at the start of almost every print (Line nr = 0, line nr = 43, line nr = 64).
NOTE: the overnight print only used 1 material (obviously). The other prints were using 2 materials, one on each extruder.
Looking through the profile settings, it "seems" the one at a time feature was selected, even without being activated, due to the fact that I was using both extruders. The only way I solved the problem was to rebuild a new profile from scratch. I have not experienced this issue since using the new profile.