Do you get this error when starting the wizard or during a particular part of the wizard?
It looks like that code is populating the list of columns for the registration page section of the wizard. Perhaps you have an illegal column name ion your table? Can you post some details about the user table?
What language / database combination are you using? PHP / MySQL?
I can see you are using Dreamweaver CS5, but what is your OS?