• Resolved Spekkio

    (@spekkio)


    I was not recieveing email when users registered.

    array_unique() under request_admin_approval_email() in new-user-approve.php returned NULL, because only one string was passed, like this array_unique( $to ), where $to = “admin@foo.bar”

    I just replaced this

    $to = array_unique($to);

    with this
    $to = array($to);

    Maybe just this should be done before $to = array_unique($to); so that it wont send out duplicate emails in case there are many email to send out to, but I have not tried that yet.

    http://wordpress.org/plugins/new-user-approve/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘array_unique() expects parameter 1 to be array’ is closed to new replies.