• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Error creating mail account after upgrading Plesj 11.5

ArnaldoA

New Pleskian
I upgraded to 11.5 some days ago. Today when trying to Create a new mail address, the Panel throws a really long error:

How can I fix this???


Internal error.
PHP Runtime Notice: Only variables should be passed by reference
Line: 243
File: /usr/local/psa/admin/plib/Service/Agent/Transport/Util.php
Stack Trace:
#0 Smb_Exception_Syntax::handleError(2048, Only variables should be passed by reference, /usr/local/psa/admin/plib/Service/Agent/Transport/Util.php, 243, Array ([process] => Resource id #703,[pipes] => Array ([1] => Resource id #700,[2] => Resource id #701,[0] => Resource id #702),[stdin] => {"domain":{"name":"domain.com","mbox_quota":-1,"dom_aliases":[],"mails":[{"name":"prueba","mbox_quota":-1,"aliases":[]}]}},[stdout] => ,[stderr] => ,[rx] => Array ([0] => Resource id #700,[1] => Resource id #701),[tx] => Array ([0] => Resource id #702),[txOffset] => 0,[txTotal] => 124,[isPipeValid] => Array ([0] => 1,[1] => 1,[2] => 1),[isPipeWarning] => Array ([0] => ,[1] => ,[2] => ),[errorsOccured] => ,[chunkSz] => 4096,[ex] => )) called at [/usr/local/psa/admin/plib/Service/Agent/Transport/Util.php:243]
#1 Service_Agent_Transport_Util::_unixCommunicateAndClose(Resource id #703, Array ([1] => Resource id #700,[2] => Resource id #701,[0] => Resource id #702), {"domain":{"name":"domain.com","mbox_quota":-1,"dom_aliases":[],"mails":[{"name":"prueba","mbox_quota":-1,"aliases":[]}]}}, , ) called at [/usr/local/psa/admin/plib/Service/Agent/Transport/Util.php:65]
#2 Service_Agent_Transport_Util::executeShellCmd('/usr/local/psa/admin/bin/mailmng-core' '--add-mailbox' '--domain-name=domain.com' '--mailname=prueba', /usr/local/psa/tmp/agenta043c8db5cd467eb3b93727ce58e21a3, {"domain":{"name":"domain.com","mbox_quota":-1,"dom_aliases":[],"mails":[{"name":"prueba","mbox_quota":-1,"aliases":[]}]}}, Array ([PSA_PASSWORD] => password123), , , ) called at [/usr/local/psa/admin/plib/Service/Agent/Transport/Util.php:21]
#3 Service_Agent_Transport_Util::executeShellCmdAndLogTime('/usr/local/psa/admin/bin/mailmng-core' '--add-mailbox' '--domain-name=domain.com' '--mailname=prueba', /usr/local/psa/tmp/agenta043c8db5cd467eb3b93727ce58e21a3, {"domain":{"name":"domain.com","mbox_quota":-1,"dom_aliases":[],"mails":[{"name":"prueba","mbox_quota":-1,"aliases":[]}]}}, Array ([PSA_PASSWORD] => password123), , , , 0) called at [/usr/local/psa/admin/plib/Service/Agent/Transport/Local/Exec.php:28]
#4 Service_Agent_Transport_Local_Exec->process(0, Service_Agent_Command_Exec Object ([command] => exec,[] => Array ([script] => mailmng-core,[version] => 1.0,[args] => Array ([0] => --add-mailbox,[1] => --domain-name=domain.com,[2] => --mailname=prueba),[env] => Array ([PSA_PASSWORD] => password123),[stdin] => {"domain":{"name":"domain.com","mbox_quota":-1,"dom_aliases":[],"mails":[{"name":"prueba","mbox_quota":-1,"aliases":[]}]}}),[] => ), Service_Agent_Transport_LocalTransaction Object ([] => a043c8db5cd467eb3b93727ce58e21a3)) called at [/usr/local/psa/admin/plib/Service/Agent/Transport/Local.php:60]
#5 Service_Agent_Transport_Local->_command(0, Service_Agent_Command_Exec Object ([command] => exec,[] => Array ([script] => mailmng-core,[version] => 1.0,[args] => Array ([0] => --add-mailbox,[1] => --domain-name=domain.com,[2] => --mailname=prueba),[env] => Array ([PSA_PASSWORD] => password123),[stdin] => {"domain":{"name":"domain.com","mbox_quota":-1,"dom_aliases":[],"mails":[{"name":"prueba","mbox_quota":-1,"aliases":[]}]}}),[] => ), Service_Agent_Transport_LocalTransaction Object ([] => a043c8db5cd467eb3b93727ce58e21a3)) called at [/usr/local/psa/admin/plib/Service/Agent/Transport/Local.php:26]
#6 Service_Agent_Transport_Local->process(a043c8db5cd467eb3b93727ce58e21a3, Array ([0] => Service_Agent_Command_Exec Object ([command] => exec,[] => Array ([script] => mailmng-core,[version] => 1.0,[args] => Array ([0] => --add-mailbox,[1] => --domain-name=domain.com,[2] => --mailname=prueba),[env] => Array ([PSA_PASSWORD] => password123),[stdin] => {"domain":{"name":"domain.com","mbox_quota":-1,"dom_aliases":[],"mails":[{"name":"prueba","mbox_quota":-1,"aliases":[]}]}}),[] => ))) called at [/usr/local/psa/admin/plib/Service/Agent.php:140]
#7 Service_Agent->commit() called at [/usr/local/psa/admin/plib/Service/Agent.php:210]
#8 Service_Agent->execAndGetResponse(mailmng-core, Array ([0] => --add-mailbox,[1] => --domain-name=domain.com,[2] => --mailname=prueba), {"domain":{"name":"domain.com","mbox_quota":-1,"dom_aliases":[],"mails":[{"name":"prueba","mbox_quota":-1,"aliases":[]}]}}, Array ([PSA_PASSWORD] => password123)) called at [/usr/local/psa/admin/plib/Service/Driver/Mail/Plesk/Domain/Abstract.php:508]
#9 Service_Driver_Mail_Plesk_Domain_Abstract->_callMailMng(core, Array ([0] => --add-mailbox,[1] => --domain-name=domain.com,[2] => --mailname=prueba), {"domain":{"name":"domain.com","mbox_quota":-1,"dom_aliases":[],"mails":[{"name":"prueba","mbox_quota":-1,"aliases":[]}]}}, Array ([PSA_PASSWORD] => password123)) called at [/usr/local/psa/admin/plib/Service/Driver/Mail/Plesk/Domain/Abstract.php:473]
#10 Service_Driver_Mail_Plesk_Domain_Abstract->_callMailMngCore(Array ([0] => --add-mailbox,[1] => --domain-name=domain.com,[2] => --mailname=prueba), {"domain":{"name":"domain.com","mbox_quota":-1,"dom_aliases":[],"mails":[{"name":"prueba","mbox_quota":-1,"aliases":[]}]}}, Array ([PSA_PASSWORD] => password123)) called at [/usr/local/psa/admin/plib/Service/Driver/Mail/Plesk/Domain/Abstract.php:253]
#11 Service_Driver_Mail_Plesk_Domain_Abstract->addMailbox(domain.com, prueba, password123, , ) called at [/usr/local/psa/admin/plib/Mail/AbstractFacade.php:191]
#13 AbstractMailNameBox->_updatePostbox() called at [/usr/local/psa/admin/plib/Mail/AbstractMailNameBox.php:174]
#14 AbstractMailNameBox->update() called at [/usr/local/psa/admin/plib/Smb/Plesk/Bridge/Mail/Name.php:258]
#15 Smb_Plesk_Bridge_Mail_Name->save() called at [/usr/local/psa/admin/plib/Db/Table/Row/Mailname.php:227]
#16 Db_Table_Row_Mailname->_saveHook() called at [/usr/local/psa/admin/plib/Db/Table/Row/Mailname.php:167]
#17 Db_Table_Row_Mailname->_postInsert() called at [/usr/local/psa/admin/externals/Zend/Db/Table/Row/Abstract.php:492]
#18 Zend_Db_Table_Row_Abstract->_doInsert() called at [/usr/local/psa/admin/externals/Zend/Db/Table/Row/Abstract.php:438]
#19 Zend_Db_Table_Row_Abstract->save() called at [/usr/local/psa/admin/plib/Db/Table/Row.php:26]
#20 Db_Table_Row->save() called at [/usr/local/psa/admin/plib/Db/Table/Row/Mailname.php:51]
#21 Db_Table_Row_Mailname->saveOnlyEmail() called at [/usr/local/psa/admin/plib/Smb/Form/Final/EmailAddress.php:250]
#22 Smb_Form_Final_EmailAddress->processForm() called at [/usr/local/psa/admin/smb/application/controllers/EmailAddressController.php:240][/usr/local/psa/admin/smb/application/controllers/EmailAddressController.php:192]
#24 EmailAddressController->createAction() called at [/usr/local/psa/admin/externals/Zend/Controller/Action.php:516]
#25 Zend_Controller_Action->dispatch(createAction) called at [/usr/local/psa/admin/externals/Zend/Controller/Dispatcher/Standard.php:295]
#26 Zend_Controller_Dispatcher_Standard->dispatch(Zend_Controller_Request_Http Object ([] => Array ([0] => _GET,[1] => _POST),[] => /smb/email-address/create,[] => /smb,[] => ,[] => /email-address/create,[] => Array ([controller] => email-address,[action] => create,[module] => default),[] => ,[] => Array (),[] => 1,[] => default,[] => module,[] => email-address,[] => controller,[] => create,[] => action), Zend_Controller_Response_Http Object ([] => Array (),[] => Array (),[] => Array (),[] => Array (),[] => 200,[] => ,[] => ,[headersSentThrowsException] => 1)) called at [/usr/local/psa/admin/externals/Zend/Controller/Front.php:954]
#27 Zend_Controller_Front->dispatch() called at [/usr/local/psa/admin/plib/Smb/Application/Web.php:39]
#28 Smb_Application_Web->run() called at [/usr/local/psa/admin/smb/application/public/index.php:14]
 
Back
Top