REstored backup from 25.7.1 on RC-25.11 resulted in Uncaught Error: Class "Net_SMTP" not found in /usr/local/share/pear/Mail/smtp.php:430
-
Hello,
Annoyed by an error in https://forum.netgate.com/topic/196437/check_upgrade-updating-repositories-metadata-returned-error-code-1/162.
Then I made a backup, downloaded the pfSense CE installer 2.8.0, performed a clean install of RC 25.11, then restored the backup.As a result, I got a new error:
PHP ERROR: Type: 1, File: /usr/local/share/pear/Mail/smtp.php, Line: 430, Message: Uncaught Error: Class "Net_SMTP" not found in /usr/local/share/pear/Mail/smtp.php:430
Stack trace:
#0 /usr/local/share/pear/Mail/smtp.php(332): Mail_smtp->getSMTPObject()
#1 /usr/local/share/pear/Mail/smtp.php(319): Mail_smtp->send_or_fail('me@mydomain...', Array, 'Notifications i...')
#2 /etc/inc/notices.inc(500): Mail_smtp->send('siemek@siemek.i...', Array, 'Notifications i...')
#3 /etc/inc/notices.inc(428): send_smtp_message('Notifications i...', 'pfSense.mydomain....', true)
#4 /etc/inc/notices.inc(314): notify_via_smtp('13:41:02 PHP ER...', true, 'Notifications i...')
#5 /usr/local/bin/notify_monitor.php(33): notices_sendqueue()
#6 {main}
thrown @ 2025-11-26 13:57:43