System error.
The following error message was returned:
Column 'average' in order clause is ambiguous
The query was:
SELECT COUNT(*) FROM (SELECT `a`.`threadId`, COALESCE(a.`archived`, 'n') as `archived`, COALESCE(max(b.`commentDate`), a.`commentDate`) as `lastPost`, COALESCE(a.`type`='s', false) as `sticky`, count(distinct b.`threadId`) as `replies` from `tiki_comments` a left join `tiki_comments` b on b.`parentId`=a.`threadId` where 1 = 1 AND a.`object`=? and (a.`archived` is null or a.`archived`=?) and a.`objectType` = 'forum' and a.`parentId` = ? group by a.`threadId`order by `sticky` desc, `average` asc, `threadId`) aValues:
- 12
- n
- 0
The built query was likely:
SELECT COUNT(*) FROM (SELECT `a`.`threadId`, COALESCE(a.`archived`, 'n') as `archived`, COALESCE(max(b.`commentDate`), a.`commentDate`) as `lastPost`, COALESCE(a.`type`='s', false) as `sticky`, count(distinct b.`threadId`) as `replies` from `tiki_comments` a left join `tiki_comments` b on b.`parentId`=a.`threadId` where 1 = 1 AND a.`object`='12' and (a.`archived` is null or a.`archived`='n') and a.`objectType` = 'forum' and a.`parentId` = '0' group by a.`threadId`order by `sticky` desc, `average` asc, `threadId`) aThings to check:
Is your database up and running?
Is your database corrupt? Please see how to repair your database
Are your database credentials accurate? (username, database name, etc in db/local.php)
Did you complete the Tiki Installer?
Please see the documentation for more information.