Jump to content
Froxlor Forum
  • 0

froxlor 0.10.33 and php 8.1, deprecated warnings


MeinerEiner

Question

4 answers to this question

Recommended Posts

  • 0

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

 

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now


×
×
  • Create New...