-
-
Notifications
You must be signed in to change notification settings - Fork 457
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
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Froxlor\PhpHelper #1103
Comments
Thank you, now the new error message: PHP Fatal error: Uncaught TypeError: Argument 1 passed to Froxlor\PhpHelper::sizeReadable() must be of the type int, float given, called in /var/www/html/froxlor/lib/Froxlor/Cron/Traffic/ReportsCron.php on line 270 and defined in /var/www/html/froxlor/lib/Froxlor/PhpHelper.php:333 Should I open a new topic or will this be reopened? best regards |
Did you update to latest git main? The line 270 (see bf7d22a#diff-1235cb1c90c7cabb68d19cc26c6196f1841a83a630a66e17b48c19ceb6addf48L272) uses the variable |
yes, I have used the two files. This seems to have started after the last PHP update. So after the update here: apticron has detected that some packages need upgrading on:
The following packages are currently pending an upgrade:
======================================================================== Package Details: apt-listchanges: Changelogs werden gelesen...
|
That does not make sense, |
I am not a PHP professional Von: Froxlor-Administrator Hallo Ralf Frey, Sie haben bereits -394383360.00 B von Ihren insgesamt -100663296.00 B Speicherplatz verbraucht. Vielen Dank, AND Von: Froxlor-Administrator Trafficreport 02/23 for Froxlor-AdministratorLoginname Traffic used (Percent) | Traffic available
|
negative werte? Das sollte aber schonmal gar nicht sein :) Schau doch mal bei uns im Discord vorbei, dann können wir da gemeinsam mal genau drüberschauen und hoffentlich die Ursache finden |
Wie schaut man am Discord vorbei? |
https://discord.froxlor.org aufrufen :) |
Cause: 32bit php |
The daily Cron Message is:
PHP Fatal error: Uncaught TypeError: Argument 1 passed to Froxlor\PhpHelper::sizeReadable() must be of the type int, float given, called in /var/www/html/froxlor/lib/Froxlor/Cron/Traffic/ReportsCron.php on line 102 and defined in /var/www/html/froxlor/lib/Froxlor/PhpHelper.php:333
Stack trace:
#0 /var/www/html/froxlor/lib/Froxlor/Cron/Traffic/ReportsCron.php(102): Froxlor\PhpHelper::sizeReadable()
#1 /var/www/html/froxlor/lib/Froxlor/Cli/MasterCron.php(134): Froxlor\Cron\Traffic\ReportsCron::run()
#2 /var/www/html/froxlor/vendor/symfony/console/Command/Command.php(298): Froxlor\Cli\MasterCron->execute()
#3 /var/www/html/froxlor/vendor/symfony/console/Application.php(1024): Symfony\Component\Console\Command\Command->run()
#4 /var/www/html/froxlor/vendor/symfony/console/Application.php(299): Symfony\Component\Console\Application->doRunCommand()
#5 /var/www/html/froxlor/vendor/symfony/console/Application.php(171): Symfony\Component\Console\Application->doRun()
#6 /var/www/html/froxlor/bin/froxlor-cli(64): Symfony\Component\Conso in /var/www/html/froxlor/lib/Froxlor/PhpHelper.php on line 333
Probably since the last PHP update
System information
my english is bad - sorry
The text was updated successfully, but these errors were encountered: