The following error is shown in Parallels Plesk when attempting to set an IP address that is not registered in Plesk's
IP Adresses menu for any A record on a domain:
PHP Catchable Fatal Error: Object of class Ip_Address could not be converted to string Line: 1054 File: /usr/local/psa/admin/plib/Dns/Manager/Common.php Stack Trace: #0 Smb_Exception_Syntax::handleError(4096, Object of class Ip_Address could not be converted to string, /usr/local/psa/admin/plib/Dns/Manager/Common.php, 1054 ... #13 DNSSyncUIPointer->accessItem(GET, ) called at [/usr/local/psa/admin/plib/UIPointer.php:619] #14 UIPointer->access(GET) called at [/usr/local/psa/admin/htdocs/plesk.php:36]
Such behavior is considered a software issue and is planed to be fixed in future releases. The internal ID regarding the matter is PPPM-1879.
The issue is caused by excessive entries in Plesk database related to domain aliases. In order to work around the issue, domain aliases should be re-created on the domain that is affected. You may use the attached script to automate the process:
cd /root wget http://kb.plesk.com/Attachments/kcs-35883/recreate_aliases.sh chmod +x ./recreate_aliases.sh;sed -i 's/\r//' ./recreate_aliases.sh ./recreate_aliases.sh domain.com
domain.com with the actual domain name.