PREG_BACKTRACK_LIMIT_ERROR encountered during WP import
|Reported by:||ryan||Owned by:||ryan|
|Severity:||normal||Keywords:||wxr importer preg|
The WordPress importer uses preg_match_all to slurp items from the import file. Large items can cause a PREG_BACKTRACK_LIMIT_ERROR. This can be avoided by bumping pcre.backtrack_limit, but that isn't very friendly. Instead, the importer shouldn't use preg_match_all. There are other ways of retrieving the items.