This error may happen when your yarn somehow slips off while working the last stitch of your previous row. You may have missed pulling your thread through to make a new stitch, which is why your yarn attaches to the second stitch instead of the first. What you can do to fix this error is turn your work around and slip the last stitch back onto your left needle. After doing so, you can work on the stitch again. You can now flip your work again and start the new row.