I have no idea where this error came from. Here is the code from line 1450:
$qv['cat'] = preg_replace( '|[^0-9,-]|', '', $qv['cat'], true); // comma separated list of positive or negative integers
Any help would be greatly appreciated. I'm a front-end developer - PHP is not my forté.