Warning preg_matchfunction.preg-match Compilation failed

If you ever get this error from your self-hosted WordPress blog:

Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 1…

The fix is to simply login to the dashboard, navigate to Settings>Permalinks and simply click “Save Changes” without actually changing anything. You may need to disable plugins first then re-enable after re-saving permalinks.

These instructions worked for me and hopefully will be super helpful and save you time too. Based on simple instructions from daydull.com

One thought on “Warning preg_matchfunction.preg-match Compilation failed

Comments are closed.