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

Divide by zero error when calling get_settings() #48

Closed
alexp-uk opened this issue Sep 22, 2023 · 1 comment
Closed

Divide by zero error when calling get_settings() #48

alexp-uk opened this issue Sep 22, 2023 · 1 comment

Comments

@alexp-uk
Copy link

When calling get_settings(), line 477:
'probability' => (int)$gc_probability / (int)$gc_divisor * 100 . '%',

Triggers a divide by zero error when running on a host that has 'session.gc_divisor' set to 0.

Thanks so much for this useful tool by the way! :)

@stefangabos
Copy link
Owner

Thanks for the heads up. I pushed out a fix and will publish a release soon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants