View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000892 | XMB1 | Bugs | public | 2026-05-05 23:36 | 2026-05-21 08:49 |
| Reporter | flushedpancake | Assigned To | miqrogroove | ||
| Priority | normal | Severity | major | Reproducibility | sometimes |
| Status | closed | Resolution | fixed | ||
| Product Version | 1.10.00 | ||||
| Target Version | 1.10.03 | Fixed in Version | 1.10.03 | ||
| Summary | 0000892: Fatal Error when trying to edit moderators. | ||||
| Description | Fatal error: Uncaught TypeError: XMB\fnameOut(): Argument # 1 ($rawstring) must be of type string, null given, called in admin/moderators.php on line 69 and defined in include/validate.inc.php:242 | ||||
| Steps To Reproduce | This will occur on the Moderators page of the admin panel on a fresh install, or for any other site where any forum is uncategorized. | ||||
| Tags | No tags attached. | ||||
| MySQL Version | |||||
| PHP Version | |||||
| Web Server | |||||
| Browser | |||||
| Flags | |||||
| Original Reporter | |||||
| SVN Revision | |||||
| Git Commit | https://github.com/miqrogroove/xmb/commit/3589e22eaa3d688163997f03d57efe1a6182823d | ||||
|
|
This code is mostly unchanged from older versions. I'm investigating how to reproduce the type error and whether it would affect the 1.9 series or is it just a type juggling formality. |
|
|
For all versions of PHP, '0' != null always evaluates to true. I don't think this was ever the intended behavior, however nobody noticed this until I enabled strict_types. |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2026-05-05 23:36 | flushedpancake | New Issue | |
| 2026-05-08 10:52 | miqrogroove | Status | new => acknowledged |
| 2026-05-08 10:52 | miqrogroove | Target Version | => 1.10.03 |
| 2026-05-08 10:52 | miqrogroove | Description Updated | |
| 2026-05-10 07:50 | miqrogroove | Note Added: 0000611 | |
| 2026-05-10 07:50 | miqrogroove | Note Edited: 0000611 | |
| 2026-05-10 08:00 | miqrogroove | Severity | minor => major |
| 2026-05-10 08:00 | miqrogroove | Reproducibility | always => sometimes |
| 2026-05-10 08:00 | miqrogroove | Status | acknowledged => confirmed |
| 2026-05-10 08:00 | miqrogroove | Product Version | 1.10.02 => 1.10.00 |
| 2026-05-10 08:00 | miqrogroove | Steps to Reproduce Updated | |
| 2026-05-10 08:10 | miqrogroove | Assigned To | => miqrogroove |
| 2026-05-10 08:10 | miqrogroove | Status | confirmed => assigned |
| 2026-05-10 08:10 | miqrogroove | Note Added: 0000612 | |
| 2026-05-10 09:03 | miqrogroove | Status | assigned => resolved |
| 2026-05-10 09:03 | miqrogroove | Resolution | open => fixed |
| 2026-05-10 09:03 | miqrogroove | Fixed in Version | => 1.10.03 |
| 2026-05-10 09:03 | miqrogroove | Git Commit | => https://github.com/miqrogroove/xmb/commit/3589e22eaa3d688163997f03d57efe1a6182823d |
| 2026-05-21 08:49 | miqrogroove | Status | resolved => closed |