Additional uncaught exception thrown while handling exception.

Original

PDOException: SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query: SELECT COUNT(*) AS expression FROM (SELECT 1 AS expression FROM {node} n WHERE (type = :db_condition_placeholder_0) ) subquery; Array ( [:db_condition_placeholder_0] => property ) in vps_search_form() (line 121 of /home/vailprop/public_html/sites/all/modules/custom/vps_search/vps_search.module).

Additional

PDOException: SQLSTATE[HY000]: General error: 2006 MySQL server has gone away: INSERT INTO {watchdog} (uid, type, message, variables, severity, link, location, referer, hostname, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2, :db_insert_placeholder_3, :db_insert_placeholder_4, :db_insert_placeholder_5, :db_insert_placeholder_6, :db_insert_placeholder_7, :db_insert_placeholder_8, :db_insert_placeholder_9); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => php [:db_insert_placeholder_2] => %type: !message in %function (line %line of %file). [:db_insert_placeholder_3] => a:6:{s:5:"%type";s:12:"PDOException";s:8:"!message";s:273:"SQLSTATE[HY000]: General error: 2013 Lost connection to MySQL server during query: SELECT COUNT(*) AS expression FROM (SELECT 1 AS expression FROM {node} n WHERE (type = :db_condition_placeholder_0) ) subquery; Array ( [:db_condition_placeholder_0] => property ) ";s:9:"%function";s:17:"vps_search_form()";s:5:"%file";s:80:"/home/vailprop/public_html/sites/all/modules/custom/vps_search/vps_search.module";s:5:"%line";i:121;s:14:"severity_level";i:3;} [:db_insert_placeholder_4] => 3 [:db_insert_placeholder_5] => [:db_insert_placeholder_6] => http://vailpropertysearch.com/ [:db_insert_placeholder_7] => [:db_insert_placeholder_8] => 54.83.229.255 [:db_insert_placeholder_9] => 1408566333 ) in dblog_watchdog() (line 154 of /home/vailprop/public_html/modules/dblog/dblog.module).