Greylist error on domain alias creation: Argument #2 is not an array

Created:

2016-11-16 12:50:04 UTC

Modified:

2017-08-16 16:23:28 UTC

0

Was this article helpful?


Have more questions?

Submit a request

Greylist error on domain alias creation: Argument #2 is not an array

Applicable to:

  • Plesk 11.x for Linux
  • Plesk 12.0 for Linux

Symptoms

Creating domain alias is failing with the error below:

PHP Warning: array_merge() [function.array-merge]: Argument #2 is not an array
Line: 70
File: /opt/psa/admin/plib/spamfilter/GreyListManager.php
Stack Trace:
#0 Smb_Exception_Syntax::handleError(2, array_merge() [function.array-merge]: Argument #2 is not an array, /opt/psa/admin/plib/spamfilter/GreyListManager.php, 70, Array ([action] = disable-greylisting,[data] = Array ([0] = flashback-production.de),[stdInList] = Array (),[domainNames] = domain.tld))
#1 array_merge(Array (), example.com) called at [/opt/psa/admin/plib/spamfilter/GreyListManager.php:70]
#2 GreyListManager-_processDomainBatch(disable-greylisting, Array ([0] = example.com)) called at [/opt/psa/admin/plib/spamfilter/GreyListManager.php:43]
GreyListManager-__destruct()

Cause

Grey listing spam protection is not enabled.

This is Plesk internal issue with ID #PPPM-759 which was fixed in Plesk 12.0.18 MU#6

Resolution

Apply the latest Plesk micro-updates or upgrade to the latest Plesk version .

Workaround

Enable the "Switch on greylisting spam protection for all mail accounts under this domain" option from the mail settings of the domain.

Have more questions? Submit a request
Please sign in to leave a comment.