When submitting a comment, got the following error:
* warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 8 in /sites/all/modules/messaging/messaging_phpmailer/messaging_phpmailer.module on line 81.
* warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 8 in /sites/all/modules/messaging/messaging_phpmailer/messaging_phpmailer.module on line 81.
* warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 8 in /sites/all/modules/messaging/messaging_phpmailer/messaging_phpmailer.module on line 81.
* warning: preg_match() [function.preg-match]: Compilation failed: unrecognized character after (?< at offset 8 in /sites/all/modules/messaging/messaging_phpmailer/messaging_phpmailer.module on line 81.
The email was sent correctly, regardless, via the Notifications module.
Drupal version 6.9
PHP version 5.2.1
PCRE library version 6.6 06-Feb-2006
(I think it is related to the older version of PHP/pcre... I could not reproduce the error on my local PC with PHP 5.2.8).
Comments
Comment #1
34010493 commentedyes, I got the same error message on my production server, but after upgrade pcre and httpd, it was fixed.
Comment #2
jose reyero commented#393384: preg_match() call includes named subpatterns, causes errors on some systems