PHP Classes

PHP 8.2: Depreciations

Recommend this page to a friend!

      SMTP E-mail sending class  >  All threads  >  PHP 8.2: Depreciations  >  (Un) Subscribe thread alerts  
Subject:PHP 8.2: Depreciations
Summary:PHP 8.2: Depreciations - how to fix it?
Messages:2
Author:Jean
Date:2023-10-24 10:07:49
 

  1. PHP 8.2: Depreciations   Reply   Report abuse  
Picture of Jean Jean - 2023-10-24 10:07:50
Hi there,

using apache with PHP8.2 i get the following errors:

Deprecated: Function strftime() is deprecated
Deprecated: Creation of dynamic property smtp_class::$pending_sender is deprecated in smtp.php on line 1626

I already fixed "strftime" in my script, but how to handle the 2nd deprecated-error? Supressing error-messages is not a solution ;-)

Kind regards

  2. Re: PHP 8.2: Depreciations   Reply   Report abuse  
Picture of Manuel Lemos Manuel Lemos - 2023-10-30 07:17:18 - In reply to message 1 from Jean
Can you send your version of the script that you are using so I can reproduce those errors?