Because you did not run the upgrade script before you entered the control panel.
Delete the ubb6 variables files, reupload clean new variables files and then run the upgrade script BEFORE you log into the control panel.
Before you do that you may want to read
this note.