I had the same thing happen on a fresh new wp install where using wp-invites widget and inviting emails containing periods resulted in a parsing error.
Found the culprit here:
file:
plugins/wp-invites-widget/wp-invites-widget.php
function ajax_wp_invites_widget () {
preg_match_all ('/([a-zA-Z0-9])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+/i', $_POST ['email'], $emails);
Changed preg_match_all regex to:
preg_match_all ('/([a-zA-Z0-9\._-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-]+)+/i', $_POST ['email'], $emails);
I added ‘_’ and ‘-‘ to the regex as well since those are also common in emails. Is this regex even needed?