Fatal Error in PHP.trigger_error();

Unknown column 'w.Participated' in 'field list'

The error occurred on or near: /home/tkqothas/public_html/forum/library/database/class.database.php

422:                 if (!$message) {
423:                     $message = $ex->getMessage();
424:                 }
425: 
426:                 trigger_error($message, E_USER_ERROR);
427:             }
428: 
429:         }
430: 

Backtrace:

/home/tkqothas/public_html/forum/library/database/class.database.phpPHP::Gdn_ErrorHandler();
[/home/tkqothas/public_html/forum/library/database/class.database.php:426] PHP::trigger_error();
[/home/tkqothas/public_html/forum/library/database/class.sqldriver.php:1663] Gdn_Database->query();
[/home/tkqothas/public_html/forum/library/database/class.sqldriver.php:614] Gdn_SQLDriver->query();
[/home/tkqothas/public_html/forum/applications/vanilla/models/class.discussionmodel.php:1627] Gdn_SQLDriver->get();
[/home/tkqothas/public_html/forum/applications/vanilla/controllers/class.discussioncontroller.php:74] DiscussionModel->getID();
[/home/tkqothas/public_html/forum/applications/vanilla/controllers/class.discussioncontroller.php:74] DiscussionController->index();
[/home/tkqothas/public_html/forum/library/core/class.dispatcher.php:326] PHP::call_user_func_array();
[/home/tkqothas/public_html/forum/index.php:44] Gdn_Dispatcher->dispatch();

Variables in local scope:

[Sql] 'select d.*, w.DateLastViewed as `DateLastViewed`, w.Dismissed as `Dismissed`, w.Bookmarked as `Bookmarked`, w.CountComments as `CountCommentWatch`, w.Participated as `Participated`, d.DateLastComment as `LastDate`, d.LastCommentUserID as `LastUserID`
from GDN_Discussion d
left join GDN_UserDiscussion w on d.DiscussionID = w.DiscussionID and w.UserID = 0
where d.DiscussionID = :dDiscussionID'
[InputParameters] array (
  ':dDiscussionID' => '5036',
)
[Options] array (
  'Type' => 'select',
  'Slave' => NULL,
  'ReturnType' => 'DataSet',
)
[ReturnType] 'DataSet'
[tries] 2
[try] 0
[PDO] array (
)
[PDOStatement] false
[ex] array (
)
[message] 'Unknown column \'w.Participated\' in \'field list\''
[code] 1054
[state] '42S22'

Need Help?

If you are a user of this website, you can report this message to a website administrator.

If you are an administrator of this website, you can get help at the Vanilla Community Forums.

Additional information for support personnel: