Details
-
Type: Sub-task
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.8.0-b1
-
Component/s: None
-
Labels:None
Description
Error:
rtrim(): Passing null to parameter #2 ($characters) of type string is deprecated
Affected Files:
- /app/models/currencies.php (Line 302)
Possible solution:
Replace around line 302
$value = ltrim($value, $formats[$currency][$company_id]->prefix); $value = rtrim($value, $formats[$currency][$company_id]->suffix);
by
$value = ltrim($value, $formats[$currency][$company_id]->prefix ?? ''); $value = rtrim($value, $formats[$currency][$company_id]->suffix ?? '');
Activity
Abdy Franco
created issue -
Abdy Franco
made changes -
Field | Original Value | New Value |
---|---|---|
Fix Version/s | 5.7.0-b1 [ 11737 ] |
Paul Phillips
made changes -
Fix Version/s | 5.7.0 [ 11800 ] | |
Fix Version/s | 5.7.0-b1 [ 11737 ] |
Paul Phillips
made changes -
Fix Version/s | 5.8.0-b1 [ 11742 ] | |
Fix Version/s | 5.7.0 [ 11800 ] |
Jonathan Reissmueller
made changes -
Assignee | Jonathan Reissmueller [ jonathan ] |
Jonathan Reissmueller
made changes -
Status | Open [ 1 ] | In Progress [ 3 ] |
Jonathan Reissmueller
made changes -
Status | In Progress [ 3 ] | Closed [ 6 ] |
Resolution | Fixed [ 1 ] |