Support community for TTG plugins and products.
NOTICE
The Turning Gate's Community has moved to a new home, at https://discourse.theturninggate.net.
This forum is now closed, and exists here as a read-only archive.
You are not logged in.
Hi together
I get the following error message when I send an Email out of my backlight contact site, when the server PHP Version is set to Version 7.0. Version 5.6 is working fine.
Something went wrong
Methods with the same name as their class will not be constructors in a future version of PHP; SMTP has a deprecated constructor in SMTP.php on line 39
Has anyone an idea to fix this?
Thanks
Stefan
Offline
Hi Stefan, thanks for pointing this out. The file SMTP is third-party code. I wasn't aware that it operated in this way.
For now, can you try editing the file backlight/framework/lib/SMTP.php and change line 78 from:
function SMTP() {
to:
function __construct() {
Please let us know whether that solves the problem. If so, I will update this in Backlight for the next maintenance release.
Offline
Hi Ben
Thanks for the quick response.
That fixed the problem!
Stefan
Offline