Title: Compilation failed: classes.php Error
Last modified: August 19, 2016

---

# Compilation failed: classes.php Error

 *  Resolved [FallingToDreams](https://wordpress.org/support/users/fallingtodreams/)
 * (@fallingtodreams)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/compilation-failed-classesphp-error/)
 * I installed WordPress onto my site and when I looked at my site (outside of Maintenance
   Mode) I found my site had this error,
 * >  Warning: preg_match() [function.preg-match]: Compilation failed: nothing to
   > repeat at offset 1 in /home/pastel/public_html/wp-includes/classes.php on line
   > 210
   > Warning: preg_match() [function.preg-match]: Compilation failed: nothing to
   > repeat at offset 1 in /home/pastel/public_html/wp-includes/classes.php on line
   > 211
 * I haven’t done anything to the class files. I have tried multiple layouts, they
   all have this error. I’m not really sure what to do to fix it.
 * I have tried deactivating ALL of my plugins as well. That didn’t help either.
   I have also tried redownloading the wordpress script from the site; didn’t change.
 * I just don’t know what to do. All my other websites using wordpress work just
   fine.
 * Also, I can’t seem to activate the _WP-PluginsUsed_ plugin because I keep getting
   this error message.
 * >  Plugin could not be activated because it triggered a fatal error.
 * I was able to activate this plugin just fine before. Why won’t it work now?
 * Can I get some help? I really need it!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [popper](https://wordpress.org/support/users/julialasarte/)
 * (@julialasarte)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/compilation-failed-classesphp-error/#post-1502776)
 * Try changing the permalink structure, see if that helps.
 *  Thread Starter [FallingToDreams](https://wordpress.org/support/users/fallingtodreams/)
 * (@fallingtodreams)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/compilation-failed-classesphp-error/#post-1502868)
 * That helped, but not my permalinks aren’t the way I want them. :/
 *  [popper](https://wordpress.org/support/users/julialasarte/)
 * (@julialasarte)
 * [16 years, 1 month ago](https://wordpress.org/support/topic/compilation-failed-classesphp-error/#post-1502872)
 * Try changing it back to the permalink structure you want. Making wordpress regenerate
   the rewrite rules might solve your problem.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Compilation failed: classes.php Error’ is closed to new replies.

## Tags

 * [compilation failed](https://wordpress.org/support/topic-tag/compilation-failed/)
 * [fatal error](https://wordpress.org/support/topic-tag/fatal-error/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [popper](https://wordpress.org/support/users/julialasarte/)
 * Last activity: [16 years, 1 month ago](https://wordpress.org/support/topic/compilation-failed-classesphp-error/#post-1502872)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
