• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Forwarded to devs Error when accessing mail account list with SmarterMail

Duarte N

New Pleskian
Username:

TITLE


Error 500 when accessing mail account list with SmarterMail

PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE

Plesk Obsidian v18.0.69_build20250424.13 os_Windows 2016/2019/2022/2025
Microsoft Windows Server 2022

PROBLEM DESCRIPTION

After upgrading Plesk to the latest version and SmarterMail Remote, clicking on "Mail Accounts" in a domain gives this error:
ERROR: Error: Call to a member function getPackage() on null (WebmailPackage.php:59)

STEPS TO REPRODUCE

In a Plesk with SmarterMail Remote accessing a domain -> Tab "Mail" -> "Mail Accounts".

ACTUAL RESULT

Type: Error
Message: ERROR: Error: Call to a member function getPackage() on null (WebmailPackage.php:59)
Stack trace: __webpack_modules__</o/</<@https://cp1.nuvem.pt/cp/javascript/main.js?1745921683:1:14154

EXPECTED RESULT

List mail accounts.

ANY ADDITIONAL INFORMATION

2025-04-29 09:59:17] PHP Warning: Undefined variable $defPackageMng; File: C:\Program Files (x86)\Plesk\admin\plib\Webmail\Driver\WebmailPackage.php, Line: 59

[2025-04-29 09:59:17] 3832:681094e5a87da ERR [panel] PHP Warning: Undefined variable $defPackageMng; File: C:\Program Files (x86)\Plesk\admin\plib\Webmail\Driver\WebmailPackage.php, Line: 59

[2025-04-29 09:59:17] PHP Warning: Undefined variable $defPackageMng in C:\Program Files (x86)\Plesk\admin\plib\Webmail\Driver\WebmailPackage.php on line 59
[2025-04-29 09:59:17] 3832:681094e5a87da ERR [panel] Call to a member function getPackage() on null:
0: C:\Program Files (x86)\Plesk\admin\plib\Webmail\Driver\WebmailPackage.php:59
Webmail_Driver_WebmailPackage->getUrl(string 'smremotewebmail', string 'unixacademy.pt', string 'geral', boolean true)
1: C:\Program Files (x86)\Plesk\admin\plib\Webmail\Facade.php:101
Webmail_Facade->getWebmailUrl(string 'smremotewebmail', string 'unixacademy.pt', string 'geral', boolean true)
2: C:\Program Files (x86)\Plesk\admin\plib\Smb\View\List\Emails.php:235
Smb_View_List_Emails->_getData()
3: C:\Program Files (x86)\Plesk\admin\plib\CommonPanel\View\List\Abstract.php:269
CommonPanel_View_List_Abstract->fetchData()
4: C:\Program Files (x86)\Plesk\admin\application\smb\controllers\EmailAddressController.php:130
Smb_EmailAddressController->listAction()
5: C:\Program Files (x86)\Plesk\admin\plib\vendor\plesk\zf1\library\Zend\Controller\Action.php:516
Zend_Controller_Action->dispatch(string 'listAction')
6: C:\Program Files (x86)\Plesk\admin\plib\vendor\plesk\zf1\library\Zend\Controller\Dispatcher\Standard.php:308
Zend_Controller_Dispatcher_Standard->dispatch(object of type Zend_Controller_Request_Http, object of type Zend_Controller_Response_Http)
7: C:\Program Files (x86)\Plesk\admin\plib\vendor\plesk\zf1\library\Zend\Controller\Front.php:954
Zend_Controller_Front->dispatch(object of type Zend_Controller_Request_Http)
8: C:\Program Files (x86)\Plesk\admin\plib\Application\Web.php:48
Plesk\Application_Web->run()
9: C:\Program Files (x86)\Plesk\admin\htdocs\application.php:15
[2025-04-29 09:59:17] 3832:681094e5a87da ERR [panel] Call to a member function getPackage() on null

YOUR EXPECTATIONS FROM PLESK SERVICE TEAM

Confirm bug
 
Thank you for the report, @Duarte N . The behavior in question is recognized as a bug identified with ID PPPM-14931. Our team is already working on introducing a fix for it. In the meantime, the workaround, please try the following:

1. Navigate to Tools & Settings > Server Components > Remote SmarterMail Web Client and verify the Login URL set there
2. Register a new URL using the value from step 1:

plesk bin mailserver.exe --add-external-webmail -webmail-name RemoteSmarterMail -webmail-url customer-smartermail-webmail.tld ; plesk bin mailserver.exe --update-webmail RemoteSmarterMail -state true

3. Set the webmail registered in the previous step to the required domains from Domains > example.com > Mail > Mail Settings > Webmail
 
Back
Top