Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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/unicode.inc).
Comments
Comment #1
sunHm. 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.
Comment #2
Krucial CreditAttribution: Krucial commentedThe errors has disappeared - don´t know why exactly, but now it seems like working as it should.
Comment #3
sunGlad to hear that!