Please stop posting full pages of code... We have access to every released version, we're good.
As for the error, it's an issue with your web host wrapped in an error from the UBB as it's being read out by the database connection:
User 'ubb' has exceeded the 'max_user_connections' resource