Article ID: 8088, created on Feb 17, 2010, last review on Aug 12, 2014

  • Applies to:
  • Plesk 9.2 for Linux/Unix


In Parallels Panel the Samba module produces error when during adding or removing of a user from an existing share.

How to reproduce it:

1) Enable error logging of Panel administrative web-server by editing of the $PRODUCT_ROOT_D/admin/conf/php.ini file:

a. 'display_errors' should be 'On',
b. 'log_errors' should be 'On'
c. 'error_reporting' should be 'E_ALL'
d. Restart the Panel service as described in

2) Go inside Parallels Panel, Modules, Samba Fileserver Configuration, then the 'Users' tab and create two users.

3) Go to the 'Shares' tab and create a new share. Then in the 'Access' section choose 'Selected only' radio button and add one user; press OK

4) Edit just created share and try to add the second user to the list of allowed users.

As a result, the Error message will be displayed:

Catchable fatal error: Object of class FileServerUser could not be converted to string in /usr/local/psa/admin/plib/modules/fileserver/FileServerShare.php on line 234

and no update of the share configuration will be done.


Replace the $PRODUCT_ROOT_D/admin/plib/modules/fileserve/FileServerShare.php file with the attachment.

Read the article about a hot-fix installation procedure.


11a46d8a188d618564f4f0cead9a50f3 a914db3fdc7a53ddcfd1b2db8f5a1b9c 29d1e90fd304f01e6420fbe60f66f838 6ef0db7f1685482449634a455d77d3f4 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF