Title: Error
Last modified: August 21, 2016

---

# Error

 *  [raminder.shah](https://wordpress.org/support/users/ramindershah/)
 * (@ramindershah)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-258/)
 * Hi,
    I am getting these errors on my website [http://www.FolkCart.com](http://www.FolkCart.com).
 * Warning: preg_match(): Compilation failed: missing ) at offset 56 in /home/store/
   public_html/wp-includes/class-wp.php on line 204
 * Warning: preg_match(): Compilation failed: missing ) at offset 56 in /home/store/
   public_html/wp-includes/class-wp.php on line 205
 * Warning: preg_match(): Compilation failed: missing ) at offset 51 in /home/store/
   public_html/wp-includes/class-wp.php on line 204
 * Warning: preg_match(): Compilation failed: missing ) at offset 51 in /home/store/
   public_html/wp-includes/class-wp.php on line 205
 * Warning: preg_match(): Compilation failed: missing ) at offset 44 in /home/store/
   public_html/wp-includes/class-wp.php on line 204
 * Warning: preg_match(): Compilation failed: missing ) at offset 44 in /home/store/
   public_html/wp-includes/class-wp.php on line 205
 * I have tried various steps given online to fix it but none worked.
 * Steps tried:
 * 1. Check the RegExp pattern at the character number specified in the Warning 
   message (after ‘offset …’), and correct the syntax.
    <?php $str = ‘[CoursesWeb.net](http://coursesweb.net)‘;
 * if(preg_match(‘/href=”(.*?)”/i’, $str, $mt)) print_r($mt[1]);
 * if(preg_match(‘/href=”([^”]{8,28})/i’, $str, $mt)) print_r($mt[1]);
 * 2. Reinstalled wp_includes folder reinstalled
 * 3. Checked all permalinks
    but nothing worked.
 * Please help out. It is an eCommerce website and its really urgent for us to fix
   this.

Viewing 1 replies (of 1 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/error-258/#post-4183059)
 * Have you tried:
    -deactivating ALL plugins temporarily to see if this resolves
   the problem. If this works, re-activate them individually (one-by-one) to find
   the problematic plugin(s). If you can’t get into your admin dashboard, try deactivating
   via FTP or SFTP or whatever file management application your host provides. If
   applicible, also remember to deactivate any plugins in the mu-plugins folder.
   The easiest way is to rename that folder to mu-plugins-old. – To rule out any
   theme-specific issue, try switching to the unedited default theme for a moment
   using the WP dashboard. If you don’t have access to your admin area, you can 
   switch to the default theme by renaming your current theme’s folder in wp-content/
   themes and adding “-old” to the end of the folder name using via FTP or SFTP 
   or whatever file management application your host provides. Alternately, you 
   can remove other themes except the default theme. That will force your site to
   use it. – [resetting the plugins folder ](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause
   problems (because the hooks remain unless plugins completely removed or some 
   plugins stick around in cached files. So by renaming the folder, you break them
   and force them inactive). – If the above troubleshooting steps fail to resolve
   the issue, try manually re-uploading all files and folders EXCEPT the wp-config.
   php file and the /wp-content/ directory from a fresh download of WordPress. Make
   sure that you delete the old copies of files & folder before uploading the new
   ones. Read the [Manual Update ](http://codex.wordpress.org/Updating_WordPress#Manual_Update)
   directions first!

Viewing 1 replies (of 1 total)

The topic ‘Error’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [12 years, 8 months ago](https://wordpress.org/support/topic/error-258/#post-4183059)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
