Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Contacts plugin
#5
All my brains were fucked by the contacts plugin developed by Alexei Polnikov, who disappeared somewhere long ago. On PHP 8 I flatly refused to send emails. There were no errors except 500, which blamed everything on the server settings. I looked for the author, he is silent, I went to the forums, no one knows anything. And only hosting support pointed the direction, suggesting that we look into the domain logs. And there is an error "[Sat Mar 16 19:09:06.791094 2024] [php:error] [pid 7052] [client 178.44.74.238:37892] PHP Fatal error: __autoload() is no longer supported, use spl_autoload_register() instead in /var/www/u993792/data/www/mydomen/theme/UIkit/assets/form/PHPMailerAutoload.php on line 45, referer: mydomen/kontakty/". It turned out that it was enough to replace this tiny piece of code __autoload with spl_autoload_register in line 45 of the PHPMailerAutoload.php file and everything worked immediately. But I was already ready to fall into despair.
It remains to figure out why clumsy letters are coming from PHP 8 hosting without HTML layout.
[Image: 909.jpg]
Reply


Messages In This Thread
Contacts plugin - by Oleg06 - 2024-03-06, 16:42:34
RE: Contacts plugin - by multicolor - 2024-03-09, 01:23:41
RE: Contacts plugin - by Oleg06 - 2024-03-09, 02:55:38
RE: Contacts plugin - by Oleg06 - 2024-03-13, 07:08:11
RE: Contacts plugin - by Oleg06 - 2024-03-17, 02:56:37



Users browsing this thread: 1 Guest(s)