MeinerEiner Posted February 4, 2022 Posted February 4, 2022 Hello, do we get soon a version of froxlor that fully supports php8.1 without deprecated warnings? PHP warning/error #8192 htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated lib/Froxlor/PhpHelper.php:67
0 cscholz Posted April 30, 2022 Posted April 30, 2022 Any news on this? Nextcloud 24 added php 8.1 support and also baikal; I did not expect that froxlor will have issues. Just have not thought about it
0 d00p Posted April 30, 2022 Posted April 30, 2022 8.1 will fully be supported in the next major release, ~summer this year
0 cscholz Posted May 1, 2022 Posted May 1, 2022 Thanks for the update. With the following workaround I was able to eliminate the errors. Up to now there are no side effects. lib/Froxlor/PhpHelper.php:67 // $subject = htmlentities($subject, $quote_style, $charset); $subject = htmlentities((string)$subject, $quote_style, $charset); vendor/froxlor/idna-convert-legacy/src/IdnaConvert.php:191 // $input = trim($input); $input = trim((string)$input); admin_domains.php:688 // $row['termination_date'] = str_replace("0000-00-00", "", $row['termination_date']); $row['termination_date'] = str_replace("0000-00-00", "", (string)$row['termination_date']); customer_domains.php:509 // $row['termination_date'] = str_replace("0000-00-00", "", ($row['termination_date']); $row['termination_date'] = str_replace("0000-00-00", "", (string)$row['termination_date']);
Question
MeinerEiner
Hello,
do we get soon a version of froxlor that fully supports php8.1 without deprecated warnings?
PHP warning/error #8192 htmlentities(): Passing null to parameter #1 ($string) of type string is deprecated lib/Froxlor/PhpHelper.php:67
4 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now