"Warning: preg_match() expects parameter 2 to be string, array given"
-
According to http://codex.wordpress.org/Function_Reference/wp_mail, parameter $to can be either string or array. WP-SES doesn’t seem to handle $to being an array properly:
Warning: preg_match() expects parameter 2 to be string, array given in /srv/.../content/plugins/wp-ses/wp-ses.php on line 441
This is when trying to use WP-SES with NinjaForms, this was the first error I encountered. If the code would have been on GitHub I might have looked into supplying a pull request…
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘"Warning: preg_match() expects parameter 2 to be string, array given"’ is closed to new replies.