After I moved my Drupal-site to another server it throws hundreds of the same warning-message in the log.

Warning: preg_match() [function.preg-match]: Compilation failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 2112 i truncate_utf8() (.../includes/


sun’s picture

Status: Active » Closed (cannot reproduce)

Hm. I'm not able to reproduce that error.

I suspect that the contents of the PHP files got corrupted in the transfer process to your new server. I would recommend to check whether the files are still using a UTF-8 character set, without BOM, and in general, whether their contents are identical to your local/previous files before the transfer.

Krucial’s picture

The errors has disappeared - don´t know why exactly, but now it seems like working as it should.

sun’s picture

Glad to hear that!