Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.
Gravatar plugin doesn't work with 2.0.18.1
ronakg
New
I upgraded my forum http://www.ronakg.com/discussions from 2.0.18 beta2 to latest. Since then the Gravatar plugin is not working. Here are the errors I get when I enable Gravatar.
Unknown column 'iu.Email' in 'field list'
select iu.Email as `InsertEmail`, d.*, w.DateLastViewed as `DateLastViewed`, w.Dismissed as `Dismissed`, w.Bookmarked as `Bookmarked`, w.CountComments as `CountCommentWatch`, 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 = 1 where d.DiscussionID = :dDiscussionID
The error occurred on or near: /htdocs/forum/library/database/class.database.php
276:
277: if (!is_object($PDOStatement)) {
278: trigger_error(ErrorMessage('PDO Statement failed to prepare', $this->ClassName, 'Query', $this->GetPDOErrorMessage($this->Connection()->errorInfo())), E_USER_ERROR);
279: } else if ($PDOStatement->execute($InputParameters) === FALSE) {
280: trigger_error(ErrorMessage($this->GetPDOErrorMessage($PDOStatement->errorInfo()), $this->ClassName, 'Query', $Sql), E_USER_ERROR);
281: }
282: } else {
283: $PDOStatement = $this->Connection()->query($Sql);
284: }
Variables in local scope:
[Sql] 'select iu.Email as `InsertEmail`, d.*, w.DateLastViewed as `DateLastViewed`, w.Dismissed as `Dismissed`, w.Bookmarked as `Bookmarked`, w.CountComments as `CountCommentWatch`, 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 = 1
where d.DiscussionID = :dDiscussionID'
[InputParameters] array (
':dDiscussionID' => '24',
)
[Options] array (
'ReturnType' => 'DataSet',
)
[ReturnType] 'DataSet'
[PDOStatement] array (
'queryString' => 'select iu.Email as `InsertEmail`, d.*, w.DateLastViewed as `DateLastViewed`, w.Dismissed as `Dismissed`, w.Bookmarked as `Bookmarked`, w.CountComments as `CountCommentWatch`, 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 = 1
where d.DiscussionID = :dDiscussionID',
)
0
Answers
can't locate it on the add-ons page.