WordPress site suddenly broken
-
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
The topic ‘WordPress site suddenly broken’ is closed to new replies.