Fatal Error in Gdn_Database.Query();

Got error 28 from storage engine

select d.Type as `Type`, d.InsertUserID as `FirstUserID`, d.DateInserted as `FirstDate`, d.CountBookmarks as `CountBookmarks`, d.Body as `Body`, d.Format as `Format`, d.DateLastComment as `LastDate`, d.LastCommentUserID as `LastUserID`, ca.Name as `Category`, ca.UrlCode as `CategoryUrlCode`, ca.PermissionCategoryID as `PermissionCategoryID`, d.*, 0 as `WatchUserID`, now() as `DateLastViewed`, 0 as `Dismissed`, 0 as `Bookmarked`, 0 as `CountCommentWatch`, d.Announce as `IsAnnounce` from GDN_Discussion d left join GDN_Category ca on d.CategoryID = ca.CategoryID join GDN_TagDiscussion td on d.DiscussionID = td.DiscussionID and td.TagID = 21 where d.CategoryID in ('16', '14', '15') order by d.DateLastComment desc limit 30

The error occurred on or near: /var/www/vhosts/mysignpost.org/httpdocs/forum/library/database/class.database.php

283:          $PDOStatement = $this->Connection()->query($Sql);
284:       }
285: 
286:       if ($PDOStatement === FALSE) {
287:          trigger_error(ErrorMessage($this->GetPDOErrorMessage($this->Connection()->errorInfo()), $this->ClassName, 'Query', $Sql), E_USER_ERROR);
288:       }
289:       
290:       // Did this query modify data in any way?
291:       if ($ReturnType == 'ID') {

Backtrace:

/var/www/vhosts/mysignpost.org/httpdocs/forum/library/database/class.database.phpPHP::Gdn_ErrorHandler();
[/var/www/vhosts/mysignpost.org/httpdocs/forum/library/database/class.database.php:287] PHP::trigger_error();
[/var/www/vhosts/mysignpost.org/httpdocs/forum/library/database/class.sqldriver.php:1648] Gdn_Database->Query();
[/var/www/vhosts/mysignpost.org/httpdocs/forum/library/database/class.sqldriver.php:673] Gdn_SQLDriver->Query();
[/var/www/vhosts/mysignpost.org/httpdocs/forum/applications/vanilla/models/class.discussionmodel.php:178] Gdn_SQLDriver->Get();
[/var/www/vhosts/mysignpost.org/httpdocs/forum/plugins/Tagging/class.tagging.plugin.php:96] DiscussionModel->Get();
[/var/www/vhosts/mysignpost.org/httpdocs/forum/library/core/class.pluginmanager.php:713] TaggingPlugin->DiscussionsController_Tagged_Create();
[/var/www/vhosts/mysignpost.org/httpdocs/forum/library/core/class.dispatcher.php:290] Gdn_PluginManager->CallNewMethod();
[/var/www/vhosts/mysignpost.org/httpdocs/forum/index.php:53] Gdn_Dispatcher->Dispatch();

Variables in local scope:

[Sql] 'select d.Type as `Type`, d.InsertUserID as `FirstUserID`, d.DateInserted as `FirstDate`, d.CountBookmarks as `CountBookmarks`, d.Body as `Body`, d.Format as `Format`, d.DateLastComment as `LastDate`, d.LastCommentUserID as `LastUserID`, ca.Name as `Category`, ca.UrlCode as `CategoryUrlCode`, ca.PermissionCategoryID as `PermissionCategoryID`, d.*, 0 as `WatchUserID`, now() as `DateLastViewed`, 0 as `Dismissed`, 0 as `Bookmarked`, 0 as `CountCommentWatch`, d.Announce as `IsAnnounce`
from GDN_Discussion d
left join GDN_Category ca on d.CategoryID = ca.CategoryID
join GDN_TagDiscussion td on d.DiscussionID = td.DiscussionID and td.TagID = 21
where d.CategoryID in (\'16\', \'14\', \'15\')
order by d.DateLastComment desc
limit 30'
[InputParameters] array (
)
[Options] array (
  'ReturnType' => 'DataSet',
)
[ReturnType] 'DataSet'
[PDOStatement] false

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: