moonmosaic Posted August 8, 2014 Share Posted August 8, 2014 My hosting company upgraded the php version of my database to 5.4. I have a prestashop 1.4 version running on this server and now the search function doesn't work. Here is the error I get: Warning: preg_replace(): Compilation failed: disallowed Unicode code point (>= 0xd800 && <= 0xdfff) at offset 1829 in /home/xxxxx/public_html/classes/Search.php on line 104 What is it and how can I fix it? Link to comment Share on other sites More sharing options...
_beans Posted August 8, 2014 Share Posted August 8, 2014 line 55 in Search.php Try to change '\x{e000}-\x{f8ff}\x{fb29}\x{fd3e}-\x{fd3f}\x{fdfc}-\x{fdfd}'. to '\x{e000}-\x{d800}-\x{f8ff}\x{fb29}\x{fd3e}-\x{fd3f}\x{fdfc}-\x{fdfd}'. Link to comment Share on other sites More sharing options...
moonmosaic Posted August 8, 2014 Author Share Posted August 8, 2014 Thank you. I will change that tonight and see how it goes. Link to comment Share on other sites More sharing options...
happylife Posted August 8, 2014 Share Posted August 8, 2014 I have also faced the same problem once. if the trick above doesn't work then you can also try '\x{e000}-\x{fb29}\x{fd3e}-\x{fd3f}\x{fdfc}-\x{fdfd}'. good luck Link to comment Share on other sites More sharing options...
Recommended Posts