jackigmail
Forum Replies Created
-
Works just perfect. Thank you.
It was the To: field that had the array.
I changed this line:
$line = sprintf(
‘Headers: %s, To: %s, Subject: %s’,
! empty( $args[‘headers’] && is_array( $args[‘headers’] ) ) ? implode( ‘ | ‘, $args[‘headers’] ) : ”,
! empty( $args[‘to’] ) : ”,
! empty( $args[‘subject’] ) ? $args[‘subject’] : ”
);To this:
$line = sprintf(
‘Headers: %s, To: %s, Subject: %s’,
! empty( $args[‘headers’] && is_array( $args[‘headers’] ) ) ? implode( ‘ | ‘, $args[‘headers’] ) : ”,
! empty( $args[‘to’] && is_array( $args[‘to’] ) ) ? implode( ‘ ; ‘, $args[‘to’] ) : ”,
! empty( $args[‘subject’] ) ? $args[‘subject’] : ”
);And the Warning no longer occurs.
Thank you.My site is having this same issue. Only way to get www. to work is by deactivating WordFence. Nothing else is resolving the issue (resetting, reinstalling WordPress core, reinstalling WordFence). Issue started on or about Dec. 5.