Skip to content
New issue

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

Fatal error: Call to undefined function Piwik\bccomp() in core/NumberFormatter.php on line 117 #8966

Closed
mattab opened this issue Oct 12, 2015 · 2 comments
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Milestone

Comments

@mattab
Copy link
Member

mattab commented Oct 12, 2015

regression from #4114 #8857

Fatal error: Call to undefined function Piwik\bccomp() in core/NumberFormatter.php on line 117

@mattab mattab added not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Regression Indicates a feature used to work in a certain way but it no longer does even though it should. labels Oct 12, 2015
@mattab mattab added this to the 2.15.0 milestone Oct 12, 2015
@mattab
Copy link
Member Author

mattab commented Oct 12, 2015

http://php.net/manual/en/bc.installation.php

These functions are only available if PHP was configured with --enable-bcmath .

It was not setup on demo.piwik.org and likely many other servers, so let's try remove this function call bccomp

@mattab mattab closed this as completed in 9ced7c4 Oct 12, 2015
@mattab
Copy link
Member Author

mattab commented Oct 12, 2015

Call to undefined function Piwik\bcdiv() in /home/piwik-demo/www/demo.piwik.org/core/NumberFormatter.php on line 232

fixed in e51b996

@mattab mattab reopened this Oct 12, 2015
@mattab mattab closed this as completed Oct 12, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
not-in-changelog For issues or pull requests that should not be included in our release changelog on matomo.org. Regression Indicates a feature used to work in a certain way but it no longer does even though it should.
Projects
None yet
Development

No branches or pull requests

1 participant