We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
See this forum topic: [(https://forum.piwik.org/t/non-well-formed-numeric-value-encountered-upon-upgrading-to-3-0-2/23314)]
When using PHP7, the above error is posted. The incorrect code exists even in Piwik 2.14.3 .
The fix, which works for all versions of PHP, is to add the following line $v_memory_limit = substr($v_memory_limit, 0, -1); // drop G, M, or K suffix
$v_memory_limit = substr($v_memory_limit, 0, -1); // drop G, M, or K suffix
In Piwik 2.14.3, the above line should be added following line 1838 of vendor/piwik/decompress/libs/PclZip/pclzip.lib.php
In Piwik 2.17.1 and later versions, the above line should be added following line 1789 of vendor/piwik/decompress/libs/PclZip/pclzip.lib.php
I can't tell you where the line should be added in Piwik versions between 2.14.3 and 2.17.1
The text was updated successfully, but these errors were encountered:
We recommend to update to Piwik 3. This error should be fixed there.
Sorry, something went wrong.
It was fixed in matomo-org/component-decompress#9 and was also mentioned in #11335 See also #11351
@canajun2eh feel free to create a PR for 2.x-dev so it would be fixed in a new release of 2.x LTS.
2.x-dev
No branches or pull requests
See this forum topic:
[(https://forum.piwik.org/t/non-well-formed-numeric-value-encountered-upon-upgrading-to-3-0-2/23314)]
When using PHP7, the above error is posted. The incorrect code exists even in Piwik 2.14.3 .
The fix, which works for all versions of PHP, is to add the following line
$v_memory_limit = substr($v_memory_limit, 0, -1); // drop G, M, or K suffix
In Piwik 2.14.3, the above line should be added following line 1838 of vendor/piwik/decompress/libs/PclZip/pclzip.lib.php
In Piwik 2.17.1 and later versions, the above line should be added following line 1789 of vendor/piwik/decompress/libs/PclZip/pclzip.lib.php
I can't tell you where the line should be added in Piwik versions between 2.14.3 and 2.17.1
The text was updated successfully, but these errors were encountered: