New PHP8.2 error (Swift Mailer 5)

15 posts by 4 authors in: Forums > CMS Builder
Last Post: May 1   (RSS)

By Dave - April 3

Thanks Djulia, 

Can you check if adding a @ to @call_user_func_array( on line 27 suppresses the deprecated error? 

Dave Edis - Senior Developer
interactivetools.com

By Djulia - April 5

Perfect! Thanks! :)

By Djulia - April 29

Hi Dave,

I have another alert :

Callables of the form ["Swift_MimePart", "Swift_Mime_MimePart::__construct"] are deprecated
../3rdParty/SwiftMailer5/classes/Swift/MimePart.php (line 30).

Thanks,

Djulia

By Dave - April 30

Hi Djulia, 

Can you try adding a @ above that line?  Like this:

        @call_user_func_array(
            array($this, 'Swift_Mime_MimePart::__construct'),

We'll release an update shortly with all these patches as well.

Thanks!

Dave Edis - Senior Developer
interactivetools.com