Yes it would seem that your old index.php file isn't being replaced with the new one. Check your paths and perhaps even delete the old file from your server then upload the new one. That query your having problems with is from the old index.php page. The new one does contain the field that is causing problems.
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.