Jump to content
View in the app

A better way to browse. Learn more.

Froxlor Forum

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

froxlor 0.10.33 and php 8.1, deprecated warnings

Featured Replies

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

 

  • 2 months later...

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

 

8.1 will fully be supported in the next major release, ~summer this year

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']);

 

Create an account or sign in to comment

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.