Actions
Bug #6563
closedPHP7: PclZip: A non well formed numeric value encountered
Description
With PHP 7.1.1 the following notice is thrown.
Notice: A non well formed numeric value encountered in /srv/www/vhosts/mysite.ch/httpdocs/libraries/CBLib/CB/Legacy/PclZip.php on line 1881,
This is due to a string containing an integer being multiplied by an integer. Fix is to properly cast to int before multiplying.
This class probably needs to be updated entirely?
Updated by beat over 7 years ago
- Upgrading first is always a good idea (if PHP minimum requirements are met)
- A string containing an integer is ok, but most probably there are non-int chars inside, like a space, to throw such an error.
Updated by krileon about 7 years ago
- Status changed from New to Closed
- Assignee set to krileon
- Target version changed from CB 2.2 to CB 2.1.4
- % Done changed from 0 to 100
This was already fixed in commit ba0e149a
Actions