User tests: Successful: Unsuccessful:
On PHP 7.1 a A non-numeric value encountered
warning is raised on these lines. The values are used for arithmetic operations so need to be numeric types first.
The issue is caused because JProfiler::mark()
creates mark objects that prefix the time and memory values with a "+" or "-" symbol and the "+" symbol isn't allowed with numeric types. Since these aren't explicitly typecasted before the arithmetic operation (either by us or by PHP), it seems a change in 7.1 causes these new warnings.
Enable debug mode and the debug plugin. It should still work with correct output pre- and post- patch. If running a PHP 7.1 environment, you should be able to confirm the warning goes away.
N/A
Category | ⇒ | Plugins Front End |
Status | New | ⇒ | Pending |
Labels |
Added:
?
|
Status | Pending | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2016-08-22 22:30:08 |
Closed_By | ⇒ | wilsonge |
Merged on review