Fatal Error in PHP.trigger_error(); Unknown column 'Sort' in 'order clause' The error occurred on or near: /home/parisfor/public_html/forum/library/database/class.database.php 408: // If we get here then the pdo statement prepared properly. 409: break; 410: 411: } catch (Gdn_UserException $uex) { 412: trigger_error($uex->getMessage(), E_USER_ERROR); 413: } catch (Exception $ex) { 414: list($state, $code, $message) = $PDO->errorInfo(); 415: 416: // If the error code is consistent with a disconnect, attempt to retry Backtrace: /home/parisfor/public_html/forum/library/database/class.database.phpPHP::Gdn_ErrorHandler(); [/home/parisfor/public_html/forum/library/database/class.database.php:412] PHP::trigger_error(); [/home/parisfor/public_html/forum/library/database/class.sqldriver.php:1663] Gdn_Database->query(); [/home/parisfor/public_html/forum/library/database/class.sqldriver.php:614] Gdn_SQLDriver->query(); [/home/parisfor/public_html/forum/applications/yaga/models/class.badgemodel.php:58] Gdn_SQLDriver->get(); [/home/parisfor/public_html/forum/applications/yaga/controllers/class.badgecontroller.php:50] BadgeModel->GetLimit(); [/home/parisfor/public_html/forum/applications/yaga/controllers/class.badgecontroller.php:50] BadgeController->Settings(); [/home/parisfor/public_html/forum/library/core/class.dispatcher.php:329] PHP::call_user_func_array(); [/home/parisfor/public_html/forum/index.php:44] Gdn_Dispatcher->dispatch(); Variables in local scope: [Sql] 'select * from GDN_Badge `Badge` order by Sort asc limit 30' [InputParameters] array ( ) [Options] array ( 'Type' => 'select', 'Slave' => NULL, 'ReturnType' => 'DataSet', ) [ReturnType] 'DataSet' [tries] 2 [try] 0 [PDO] array ( ) [PDOStatement] false [state] '42S22' [code] 1054 [message] 'Unknown column \'Sort\' in \'order clause\'' [uex] array ( )