OPNsense Forum

Archive => 22.7 Legacy Series => Topic started by: Fowlerj on November 08, 2022, 05:53:03 PM

Title: PHPMailer error when applying new WAN rule
Post by: Fowlerj on November 08, 2022, 05:53:03 PM
Running 22.7.7_1.  Everything is up to date.

Tried to add a new WAN rule to block a single LAN IP.  Nothing fancy.  The rule is recorded.  When I try to apply the rule I get: Fatal error: __autoload() is no longer supported, use spl_autoload_register() instead in /usr/local/share/phpmailer/PHPMailerAutoload.php on line 45

I'm not even sure how phpmailer would interact with a WAN rule.

Any ideas on how to resolve this?

Thank you.
Title: Re: PHPMailer error when applying new WAN rule
Post by: Fowlerj on November 08, 2022, 07:32:57 PM
Ok.  The package causing the problem was : os-mail-backup.

Apparently it is using phpmailer-5.2.28, which is too outdated to work.

Thank you to all who read the topic.
Title: Re: PHPMailer error when applying new WAN rule
Post by: franco on November 09, 2022, 09:43:16 AM
Unfortunately os-mail-backup was discontinued for security reasons, but the plugin and dependencies tend to stick around in these cases... happy you could solve it.


Cheers,
Franco