Dave,
Thanks again for your reply.
That took care of the error message. Great.
The password is updating appropriately.
However, the username is still not saving at all. Any idea why?
Also, I noticed just now that the last line is actually not needed. I ran the code without the vB::getDbAssertor and it is working exactly the same. Do you know if I need this line?
PHP Code:
vB::getDbAssertor()->update( 'user', array( 'username' => $username ), array( "userid" => $vb_userid ) );