icee Posted September 16, 2014 Share Posted September 16, 2014 (edited) Hello, I happen to have a problem with tools.php This error is filling up the error log and taking vast amounts of storage space: PHP Warning: preg_replace(): Compilation failed: invalid range in character class at offset 24 in /home/.../public_html/prestashop/prestashop/classes/Tools.php on line 1150 I have this code on line 1150: $str = preg_replace('/[^a-zA-Z0-9\s\'\:\/\[\]-\pL]/u', '', $str); Any idea about what could be causing it ? Thanks in advance, Edited September 24, 2014 by icee (see edit history) Link to comment Share on other sites More sharing options...
icee Posted September 25, 2014 Author Share Posted September 25, 2014 (edited) Hi, It would be of much help if I could find out from what this code came from (original prestashop code or modules). I found something related to this: LINK Also, can anyone explain to me what is the function of tools.php in Prestashop ? I did not found any documentation on this. Regards, Edited September 25, 2014 by icee (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts