Bug #358
PHP 5.3 my_number_format stats.php PHP warning
| Status: | Closed | Start: | 08/08/2009 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned to: | Ryan Gordon | % Done: | 100% |
|
| Category: | PHP | |||
| Target version: | 1.4.10 | |||
| Reproducibility: | Browser: | |||
| Reported In MyBB Version: | 1.4.8 | Database Type: | ||
| PHP Version: | Database Version: |
Description
On my localhost 1.4.8 installation I get this:
Warning [2] number_format() expects parameter 1 to be double, string given - Line: 3666 - File: C:\wamp\www\mybb\mybb14x_public_mysql\inc\functions.php PHP 5.3.0 (WINNT)
File Line Function
[PHP] errorHandler->error
C:\wamp\www\mybb\mybb14x_public_mysql\inc\functions.php 3666 number_format
C:\wamp\www\mybb\mybb14x_public_mysql\stats.php 177 my_number_format
And, this is in the stats: Today's top poster: Nobody ( posts)
There's no number. It appears to be a PHP 5.3.0 error, doesn't happen in 5.2.9-2
Associated revisions
Fixes PHP 5.3 my_number_format stats.php PHP warning (fixes:358)
History
Updated by Ryan Gordon about 1 year ago
- Status changed from Assigned to Resolved
- % Done changed from 0 to 100
Applied in changeset r4420.
Updated by Stefan T. about 1 year ago
- Status changed from Resolved to Closed
Updated by Ryan Gordon 12 months ago
- Target version changed from 1.4.9 to 1.4.10
- Reported In MyBB Version set to 1.4.8