Opened 11 years ago
Closed 11 years ago
#32204 closed defect (bug) (fixed)
Problem with UTF8 charset
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.2.2 | Priority: | normal |
| Severity: | normal | Version: | 4.2.1 |
| Component: | Database | Keywords: | |
| Focuses: | Cc: |
Description (last modified by )
After update from WP 4.1.4 to 4.1.2 at PHP 5.5.0. I got this error:
Warning: preg_replace(): Compilation failed: repeated subpattern is too long at offset 592 in /home/www/xxxxxx/html/www.xxxxxx.com/blog/wp-includes/wp-db.php on line 2640
I found a workaround here:
http://forum.wpde.org/installation/142182-nach-update-auf-4-2-1-keine-umlaute-mehr-speicherbar-2.html#post614130
After disabling this line in wp-db.php it is working again.
// $value['value'] = preg_replace( $regex, '$1', $value['value'] ); continue; }
Kind regards,
Marcus
Change History (11)
Note: See
TracTickets for help on using
tickets.
Thank you for the bug report, @kukihn!
You'll notice just above that line, there's a bit of code reading
{1,50}.Could you please try reducing the
50, and seeing what happens? What's the largest value it can be before you get warnings?