Support » Fixing WordPress » preg_match function error after permalinks change

  • I’m getting a php warning appearing in the at the top of my site when I changed permalinks from default to ‘Day and Name’

    PHP Warning: preg_match() [function.preg-match]: Compilation failed: nothing to repeat at offset 2 in /home/site/public_html/wp-includes/classes.php on line 210

    (same error also for line 211)

    Looking at classes.php on line 210-211 it looks like this is when using an anchor (#). I’m not using anchors (#) in my url…
    any fix or suggestion of what’s going on? I’d rather not use default with ‘?p=’ especially if i want to use wp_cache for example.

    thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • anyone? suggestions?

    thesm

    (@thesm)

    OK..nothing like turning all custom modules off…then setting your desired permalinks and then turning all the modules back on again…

    Now working!

    🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘preg_match function error after permalinks change’ is closed to new replies.