View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007611 | OXID eShop (all versions) | 4.07. Source code, Test | public | 2024-03-05 16:35 | 2024-08-14 13:30 |
Reporter | mario_lorenz | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | confirmed | Resolution | open | ||
Product Version | 6.3.0 | ||||
Summary | 0007611: round(): Argument #1 ($num) must be of type int|float | ||||
Description | We have on several places in die OXID-Core a wrong typecast for the round-function: Here is a example: https://github.com/OXID-eSales/oxideshop_ce/blob/1c7ecf404dea372a30969d897d75aed10e77dbf2/source/Application/Controller/Admin/ArticleStock.php#L166 Search for round((string) This incorrect use triggers a maintenance mode. I found this wrong use in all OXID-Versions between OXID 6.3 to 7.0, OXID 6.1 is not effected ... | ||||
Additional Information | Solution: * remove (string) typecast * or use Registry::getUtils()->fRound(...) here you can/shoud use strings ... | ||||
Tags | No tags attached. | ||||
Theme | All | ||||
Browser | Not defined | ||||
PHP Version | 8.1 | ||||
Database Version | Not defined | ||||