• Resolved mjb566

    (@mjb566)


    Hi,
    4.9.2 auto-installed last night and broke my site. I have managed to get it working by replacing wp-db.php with the version from 4.9.1

    If I re-install wp-db.php from 4.9.2 the site breaks with the error message Warning: preg_match(): Compilation failed: unrecognized character after (?< at offset 4 in /web1/user/website/wp-includes/wp-db.php on line 1657

    The line referred (1657) to matches line 1664 in ver 4.9.1 but otherwise is the same in both versions.

    Any ideas why the wp-db.php file from 4.9.2 is breaking the site whilst 4.9.1 doesn’t?
    Thanks

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 34 total)
  • Hi @mjb566.,

    Error Related to Missing or Damaged Core Files
    Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.
    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thanks
    Rajan V

    Is your domain is correct?

    Thread Starter mjb566

    (@mjb566)

    Hi Rajan,
    Apologies, domain incorrect and should be https://www.hampshirechess.co.uk/
    Thanks for your help, I will try 4.9.2 upload via ftp.

    @mjb566

    I can’t find the issue on your site. May i know your site current wp version

    Thanks
    Rajan V

    Thread Starter mjb566

    (@mjb566)

    Hi Rajan,
    The version is 4.9.2 but I have replaced wp-db.php with the version from 4.9.1, if I upload the new version of wp-db.php then the site crashes.

    Thread Starter mjb566

    (@mjb566)

    Hi,
    I have uploaded all of the new files from 4.9.2 with the exception of the config.php and wp-content folder files. Still the error persists until I remove the new wp-db.php file.

    Any new ideas would be appreciated, thanks.

    Thread Starter mjb566

    (@mjb566)

    Hi,
    I have deactivated all plugins but with 4.9.2 am still getting the error message – Warning: preg_match(): Compilation failed: unrecognized character after (?< at offset 4 in /web1/user/website/wp-includes/wp-db.php on line 1657

    You have done this step?

    Try downloading WordPress again, access your server via SFTP or FTP, or a file manager in your hosting account’s control panel, and delete then replace your copies of everything except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings.
    Some uploaders tend to be unreliable when overwriting files, so don’t forget to delete the original files before replacing them.

    Thread Starter mjb566

    (@mjb566)

    Hi Rajan,
    Thanks for coming back ?? I tried the complete re-install option as described an hour ago, unfortunately, it made no difference. I will try it again. I have also changed themes but that made no difference either.

    OOPS Site give 403 Error. Are you working on this?

    Thread Starter mjb566

    (@mjb566)

    Hi Rajan,
    I have just now deleted and re-installed a fresh 4.9.2 less the config file and content folder. I have deactivated all plugins and changed the theme. I am still getting the error message – Warning: preg_match(): Compilation failed: unrecognized character after (?< at offset 4 in /web1/user/website/wp-includes/wp-db.php on line 1657

    I have the same problem with website beverleymalevoicechoir.co.uk I do not have much in the way of technical skill and would not know where to start to fix this myself. Surely the error is with WP and if they have auto-updated with a dodgy version they should remedy it for all those affected? No?

    Thread Starter mjb566

    (@mjb566)

    @petergo1

    My site is fine with wp-db.php from version 4.9.1
    The error occurs as soon as wp-db.php from 4.9.2 is uploaded. Te reported error refers to an unrecognized character but there is not one in the file on or near the line reported 1657.

    After reading a possibility was that the file had not been uploaded in plain UTF-8, I downloaded Notepad++ and checked the encoding but found it to be correct.

    I have exactly the same theme and WordPress install working perfectly on another web-space provider so am wondering if the php version is the culprit?

    My provider is using PHP 5* whereas the provider where the install works fine is using PHP 7*

    I don’t know the answer at the moment.

    My site – https://www.beverleymalevoicechoir.co.uk is showing just the same error message as yours – line 1657, you can see it on a strap across the top of the home page. The website is usable, except I can’t enter the members’ page or the wp/admin page. I suspect we are not alone and that there are others who have simply not tried to use their relevant pages since the night before last!

    As stated, I do not have the relevant IT skills to even try to remedy the problem myself so have asked our website design company to sort it for me. I will let you know how they get on.

    Peter

    Thread Starter mjb566

    (@mjb566)

Viewing 15 replies - 1 through 15 (of 34 total)
  • The topic ‘Site DOwn after 4.9.2 Upgrade’ is closed to new replies.