MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length



SMF - Just Installed!

Author Topic: Prestashop site Error : Warning: preg_replace(): Compilation failed:  (Read 3310 times)

0 Members and 1 Guest are viewing this topic.

Offline Dipak Bhoi

  • MilesWeb Team Member
  • Full Member
  • ***
  • Posts: 208
  • Karma: +5/-0
    • View Profile
    • MilesWeb Internet Services
Hello Guys,

After browsing Prestoshop site getting an error as below.

Warning: 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 !!
cPanel Hosting in India - cPanel Hosting in India.

Grab an SSL for your website and SAVE 20% now. Coupon Code SSLSAVE20.

MilesWeb Hosting Forum