• Resolved holdusback

    (@holdusback)


    Hey there,

    While debugging my website I found those deprecated notice in my PHP error log :

    Im a using PHP8.2.8

    Deprecated: Creation of dynamic property Mailtpl_Customizer::$defaults is deprecated in /wp-content/plugins/email-templates/includes/class-mailtpl-customizer.php on line 44

    Deprecated: Creation of dynamic property Mailtpl_Mailer::$opts is deprecated in /wp-content/plugins/email-templates/includes/class-mailtpl-mailer.php on line 45

    Thanks in advance !

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Support Daniyal Raza

    (@daniyalraza01)

    Hello @holdusback ,

    Hope you are doing well. Sorry to hear that.

    Here is the updated plugin beta version download link below. Please re-install it into your site.

    Download Now

    Also, please make sure to take a backup before uploading this plugin on your site.

    Let me know if the issue still persist.

    Thanks & Regards,
    WP Experts Support Team

    Hi,

    Came here for the same problem, I installed the beta version you provided, but it seems the deprecated errors are still there.

    I still get those 2 errors on every page load :

    Deprecated: Creation of dynamic property Mailtpl_Customizer::$defaults is deprecated in?/plugins/email-templates/includes/class-mailtpl-customizer.php?on line?49

    Deprecated: Creation of dynamic property Mailtpl_Mailer::$opts is deprecated in?/plugins/email-templates/includes/class-mailtpl-mailer.php?on line?49

    I looked in “class-mailtpl-customizer.php”, and it seems the problem hasn’t been fixed : you need to declare this “defaults” property before using it :

    private $defaults;

    Plugin Support Daniyal Raza

    (@daniyalraza01)

    Hello @clementrectangle ,

    Sorry for the inconvenience.

    I had forwarded this to our technical team. They are trying to replicate it on our environment. We will update you soon.

    Thanks

    Plugin Support Daniyal Raza

    (@daniyalraza01)

    Hello there,

    Sorry for the delay. We have made some code changes according to your case.

    Here is the updated plugin beta version download link below. Please re-install it into your site.

    Download Now

    Also, please make sure to take a backup before uploading this plugin on your site.

    Let me know if the issue still persist.

    Thanks 

    Thread Starter holdusback

    (@holdusback)

    Hey there,

    Any ETA on an official update for this ?
    Not rly urgent but still, should be fixed by the devs ??

    Have a wonderful day !

    Hi,

    I have the same problem on “php deprecated” in my logs, and the updated plugin beta version?stills generate this message “[22-May-2024 09:14:00 UTC] PHP Deprecated: Creation of dynamic property Mailtpl_Mailer::$opts is deprecated in /xxx/wp-content/plugins/email-templates/includes/class-mailtpl-mailer.php on line 49”.

    Plugin Support Daniyal Raza

    (@daniyalraza01)

    Hello @holdusback ,

    Just for an update, this version will be released in couple of weeks. There are some features on which our technical team is working. So we can’t commit any timeline but this is in process.

    Thanks

    Plugin Support Daniyal Raza

    (@daniyalraza01)

    Hello @gilles66 ,

    Please try with this updated beta version download link below. Please re-install it into your site.

    Download Now

    Also, please make sure to take a backup before uploading this plugin on your site.

    Let me know if the issue still persist.

    Thanks 

    Plugin Support Muhammad Usama

    (@usamaazad99)

    Your issue has been resolved. We are going to mark this ticket as resolved.

    If you have any other issues, please feel free to open a new ticket. We are always here to assist you!

    Thanks & regards,
    WP Experts Support Team

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.