• Resolved wandergazer

    (@wandergazer)


    Hi all,

    My website is wandergazer.com. I’ve got the white screen of death after attempting to configure a Featured Post plugin. O have tried multiple tricks to get it better. I’ve put it on debugging mode, disabled all plugins via renaming, took out the code I used for configuration, removed the parent and child theme I was using, and it still does not work/does not revert to the default theme.

    Currently the error says:

    Parse error: syntax error, unexpected end of file, expecting variable (T_VARIABLE) or ${ (T_DOLLAR_OPEN_CURLY_BRACES) or {$ (T_CURLY_OPEN) in /home1/wanderg1/public_html/wp-includes/functions.php on line 468

    And line 468 happens to be the last line of the following code

    function wp_extract_urls($content) {
    preg_match_all(
    “#([\”‘]?)
    (“
    . “(?:([\w-]+:)?//?)”
    . “[^\s()<>]+”
    . “[.]”
    . “(?:”
    . “\([\w\d]+\)|”
    . “(?:”
    . “[^`!()\[\]{};:’\”.,<>????a€?a€

    I’ve tried to add closing parentheses and curly brackets so it would all match up, but that didn’t work. This is a block of code that I did NOT touch at the beginning so I’m not sure how it got affected.

    I would appreciate truly any and all help, especially since it’s 1:30 a.m., I’ve been at this for 5+ hours without success, and I’m feeling pretty defeated with scheduled posts coming up.

    Thanks for your assistance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • C W (VYSO)

    (@cyril-washbrook)

    It looks like functions.php may have been corrupted.

    Option 1:

    Download the latest version of WordPress. Unzip it and find the functions.php file in the /wp-includes folder. Upload that file to the /public_html/wp-includes by FTP, replacing the existing functions.php.

    Option 2:

    If option 1 didn’t solve your problem, reinstall WordPress. Carefully follow the procedure on this page (under “Manual Update”).

    In fact, I would recommend doing option 2 even if option 1 works. It’s possible that other core files have been damaged or corrupted in some way as well. Reinstalling WordPress will help to flush out any such issues.

    Thread Starter wandergazer

    (@wandergazer)

    Thank you!

    I should’ve thought of that but alas. I started replacing all the different index and function files that may have been affected and got it to revert to twenty fourteen then disabled all the screwy plugins.

    At least now the error log isn’t showing anything. I will do option 2 when I get home tonight.

    Thanks so much for your help.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘WSoD; nothing is working; cried alread’ is closed to new replies.