• 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.

11.5.30 #6: PHP Runtime Notice: Only variables should be passed by reference

timber

Basic Pleskian
Hi!

Whenever I start/stop/restart a service via Server Tools & Settings -> Service Management, I get the following PHP error:

PHP Runtime Notice: Only variables should be passed by reference
Line: 393
File: /opt/psa/admin/plib/common_func.php3
Stack Trace:
#0 Smb_Exception_Syntax::handleError(2048, Only variables should be passed by reference, /opt/psa/admin/plib/common_func.php3, 393, Array ([pipes] => Array ([1] => Resource id #369,[2] => Resource id #370),[stdout] => ,[stderr] => ,[read] => Array ([0] => Resource id #369,[1] => Resource id #370),[isPipeValid] => Array ([0] => 1,[1] => 1,[2] => 1),[chunkSize] => 4096,[selectRc] => ,[write] => ,[exclude] => )) called at [/opt/psa/admin/plib/common_func.php3:393]
#1 _processPipes(Array ([1] => Resource id #369,[2] => Resource id #370), , ) called at [/opt/psa/admin/plib/common_func.php3:313]
#2 lst_exec(exec /opt/psa/admin/bin/apache_control_adapter '--status') called at [/opt/psa/admin/plib/common_func.php3:186]
#3 util_exec(apache_control_adapter, Array ([0] => --status), Array (), lst) called at [/opt/psa/admin/plib/class.ServiceControl.php:326]
#4 ServiceControl->getServiceStatus(web) called at [/opt/psa/admin/plib/class.RestartServForm.php:132]
#5 RestartServForm->assign(ServiceControl Object ([entity_list_] => Array ([pop3] => restart),[services_list_] => Array ([pop3] => Array ([name] => Courier-IMAP,[package] => courier-imap,[utility] => mailmng-service),[web] => Array ([name] => Apache,[package] => httpd,[utility] => apache_control_adapter),[smtp] => Array ([name] => Postfix,[package] => postfix,[utility] => mailmng-service),[pop3s] => Array ([name] => Courier-IMAP,[package] => courier-imap,[utility] => mailmng-service),[imap] => Array ([name] => Courier-IMAP,[package] => courier-imap,[utility] => mailmng-service),[imaps] => Array ([name] => Courier-IMAP,[package] => courier-imap,[utility] => mailmng-service),[authdaemon] => Array ([name] => Courier-IMAP,[package] => courier-imap,[utility] => mailmng-service),[dns] => Array ([name] => BIND,[package] => bind,[utility] => dnsmng),[coldfusion] => Array ([name] => Not configured,[package] => Not configured,[utility] => cfmng),[spamassassin] => Array ([name] => Spam Filter,[package] => psa-spamassassin,[utility] => spammng),[kav] => Array ([name] => Kaspersky Antivirus,[package] => psa-kav8,[utility] => kavmng),[milter] => Array ([name] => Postfix,[package] => postfix,[utility] => mailmng-service),[nginx] => Array ([name] => Nginx,[package] => nginx,[utility] => nginxmng),[php-fpm] => Array ([name] => php-fpm,[package] => php-fpm,[utility] => phpinimng)),[timeout_] => Array ([sec] => 3,[usec] => 0),[] => ,[error_] => ,[errorMsg_] => )) called at [/opt/psa/admin/htdocs/server/restart_services.php:34]
#6 require(/opt/psa/admin/htdocs/server/restart_services.php) called at [/opt/psa/admin/htdocs/plesk.php:44]

I've had this problem with 11.5.30 #3 and possibly before that. I can't figure it's a general problem? But I don't know what might cause it on my system. Any help is appreciated. Thanks.
 
Looks like that upgrade was not completed successfully. Have you tried to fix it with bootstrapper repair procedure at least?
 
Hi Igor,

Thanks for suggesting this. I ran the bootstrapper script but it did not fix my problem. Log below:

root@hosting:/opt/psa/bootstrapper/pp11.5.30-bootstrapper# ./bootstrapper.sh repair
Started bootstrapper repair procedure. This may take a while.
Certain actions may be skipped if not applicable.

Finishing up upgrade procedures and rerunning previously failed upgrade actions...
===> Cumulative Plesk database upgrade and repair (revertable stage) has been started.
===> Preparing Plesk database upgrade (revertable stage).
===> Cumulative upgrade and repair of Plesk database (revertable stage) has been completed.
===> Cumulative Plesk upgrade and repair (final stage) has been started.
===> Preparing Plesk upgrade (final stage).
===> Cumulative upgrade and repair of Plesk (final stage) has been completed.
===> Cumulative APS controller database (apsc) upgrade and repair has been started.
===> Upgrade and repair of APS controller database has been completed.
Reconfiguring mail subsystem...
Reconfiguring Apache web server...
Reconfiguring ProFTPD FTP server...
Reconfiguring AWStats web statistics...
Reconfiguring WatchDog...
Restoring SELinux contexts...
Regenerating web servers' configuration files...
Cleaning active Panel sessions...

Bootstrapper repair finished.
If problems persist, please check installer logs ('/tmp/plesk_11.5.30_repair.log' and '/tmp/plesk_11.5.30_repair_problems.log') for errors.
If you can't resolve the issue on your own, please address Parallels support.
 
Back
Top