MilesWeb Hosting Forum

Web Hosting Technical Support => Errors and Solutions => Topic started by: Dipak Bhoi on October 07, 2014, 03:27:23 PM

Title: Prestashop site Error : Warning: preg_replace(): Compilation failed:
Post by: Dipak Bhoi on October 07, 2014, 03:27:23 PM
Hello Guys,

After browsing Prestoshop site getting an error as below.

QuoteWarning: preg_replace(): Compilation failed: invalid range in character class at offset 24 in /home/username/public_html/classes/Tools.php on line 1150

This warnin is most likely done by a PHP bug or a PHP compilation without proper UTF-8 support.

Solution ::

Login to your Prestashop admin panel and disallow accented characters from backend -> preferences -> seo & url's.

You can see that solved the error message issue!

Enjoy !!