• Clueless_User

    (@clueless_user)


    Hi. My site was doing fine, but suddenly broke last week. Error message:

    Parse error: syntax error, unexpected $end in /home/mizbern/public_html/wp-includes/option.php on line 1226

    I can’t access wordpress admin, either. I haven’t changed anything, updated anything, etc. The error seems to be spontaneous. We tried reloading WordPress, but that didn’t fix anything. Here are the lines of code the error message refers to (line numbers added): am I missing close brackets at 1225?

    1210 if ( $result ) {
    1211
    1212 /**
    1213 * Fires after the value of a specific site option has been successfully updated.
    1214 *
    1215 * The dynamic portion of the hook name, $option, refers to the option name.
    1216 *
    1217 * @since 2.9.0 As “update_site_option_{$key}”
    1218 * @since 3.0.0
    1219 *
    1220 * @param string $option Name of site option.
    1221 * @param mixed $value Current value of site option.
    1222 * @param mixed $old_value Old value of site option.
    1223 */
    1224 do_action( “update_site_option_{$option}”, $option, $value, $old_value );
    1225
    1226 /**
    1227 * Fires after the value of a site option has been successfully updated.
    1228 *
    * @since 3.0.0
    *
    * @param string $option Name

Viewing 5 replies - 1 through 5 (of 5 total)
  • Can you recall if you installed or updated any theme or plugin before this happened?

    If you did nothing your host could have moved your site to a different server and that could have introduced the error.

    You said you tried ‘reloading’ WP?
    Using your ftp client or webhost file manager I would delete the /wp-includes folder and reupload that. Do not delete anything else, JUST that folder.

    Does that sound doable?

    Thread Starter Clueless_User

    (@clueless_user)

    Mark, thanks for the advice. Too bad I don’t have a backup. (I’ve only been computing for 15 years…)

    nb

    Thread Starter Clueless_User

    (@clueless_user)

    Mark, I thought the problem was my site. the author of the template says it’s the WordPress code. I reloaded the whole program, and Softaculous says the install was successful. That should fix everything, shouldn’t it? Brand new copies of all the files? But no, still getting the same error message.

    Thread Starter Clueless_User

    (@clueless_user)

    Now WordPress doesn’t even recognize me as user. Did the new installation erase everything I’ve done?

    Thread Starter Clueless_User

    (@clueless_user)

    Okay, I was able to log on to wordpress as admin, using brand new id and passwords that somehow got generated for me, per the install notice email. Once logged in, it shows a blank site, without the custom template I bought. The wordpress download seems to have set up an entirely new user/account. I did use the server’s softaculous pane to reload the app. How would an update to that software erase the website?

    nb

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

The topic ‘WordPress site suddenly broken’ is closed to new replies.