View Issue Details

IDProjectCategoryView StatusLast Update
0000959XMB1Bugspublic2026-09-27 22:31
Reportermiqrogroove Assigned Tomiqrogroove  
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product Version1.9.11 
Target Version1.10.08Fixed in Version1.10.08 
Summary0000959: Stats Page Assumes Guest Can Access 1+ Forums
DescriptionWhile testing the index_noforum template recently, I observed bot-triggered errors resulting from the stats script having no forums to access.

Underlying this symptom, we can see the stats rely on Core::permittedFIDsForThreadView() which will intentionally include FIDs for groups that are enabled but have no accessible forums in them. If a query is further restricted to exclude groups, then the query may return an empty set.
Additional InformationPHP Warning: Trying to access array offset on null in stats.php on line 147
PHP Warning: Trying to access array offset on null in stats.php on line 147
PHP Fatal error: Uncaught TypeError: XMB\fnameOut(): Argument # 1 ($rawstring) must be of type string, null given, called in stats.php on line 147 and defined in include/validate.inc.php:255
TagsNo tags attached.
MySQL Version
PHP Version
Web Server
Browser
Flags
Original Reporter
SVN Revision
Git Commithttps://github.com/miqrogroove/xmb/commit/e3dcf45af3fa217607804dba56e45a6a67d6c053

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2026-09-27 14:50 miqrogroove New Issue
2026-09-27 14:50 miqrogroove Additional Information Updated
2026-09-27 15:09 miqrogroove Description Updated
2026-09-27 15:16 miqrogroove Assigned To => miqrogroove
2026-09-27 15:16 miqrogroove Status new => assigned
2026-09-27 15:16 miqrogroove Product Version => 1.9.11
2026-09-27 22:31 miqrogroove Status assigned => resolved
2026-09-27 22:31 miqrogroove Resolution open => fixed
2026-09-27 22:31 miqrogroove Fixed in Version => 1.10.08
2026-09-27 22:31 miqrogroove Git Commit => https://github.com/miqrogroove/xmb/commit/e3dcf45af3fa217607804dba56e45a6a67d6c053