Warning: Use of undefined constant ParWin - assumed 'ParWin' (this will throw an Error in a future version of PHP) in /var/www/html/ProjectManagement/PendingCountsByUser.php on line 27

Warning: Use of undefined constant GParWin - assumed 'GParWin' (this will throw an Error in a future version of PHP) in /var/www/html/ProjectManagement/PendingCountsByUser.php on line 28
  Pending Items by User  

Assigned To
Created By
Owned By
Child Only
All Pending
Support

ExecuteSQLit sql=
select concat('',AssignedDisplayName,'') as AssignedTo , count(IssueId) as Frequency from IssuesView where ProjectId=0 and MilestoneName<>'completed' and issueid not in (select primaryissueid from RelatedIssues where RelationType=0) and instr(IssueTitle,'support')=0 group by AssignedDisplayName union select concat('All')as AssignedTo , count(IssueId) as Frequency from IssuesView where ProjectId=0 and MilestoneName<>'completed' and issueid not in (select primaryissueid from RelatedIssues where RelationType=0) and instr(IssueTitle,'support')=0 order by AssignedTo

Table 'WordNote.RelatedIssues' doesn't exist