• Hi,
    I am getting these errors on my website https://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‘;

    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

    (@t-p)

    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 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 directions first!

Viewing 1 replies (of 1 total)
  • The topic ‘Error’ is closed to new replies.