• I upgraded to 3.7.1 last week on 2 of my sites. The host went down due to some error and came back up. My sites were up and fine but now I have these errors on one of them when I go to the dashboard.
    =======
    WordPress database error: [Table ‘./visiv_wordpress/wp_options’ is marked as crashed and should be repaired]
    SELECT option_value FROM wp_options WHERE option_name = ‘db_upgraded’ LIMIT 1

    WordPress database error: [Table ‘./visiv_wordpress/wp_options’ is marked as crashed and should be repaired]
    SELECT option_value FROM wp_options WHERE option_name = ‘db_version’ LIMIT 1
    ==========

    However, when I go to the site itself I get these 2 errors at the top of the page as the site does come up
    ===========

    WordPress database error: [Table ‘./visiv_wordpress/wp_options’ is marked as crashed and should be repaired]
    SELECT option_value FROM wp_options WHERE option_name = ‘open_graph_protocol_site_type’ LIMIT 1

    WordPress database error: [Table ‘./visiv_wordpress/wp_options’ is marked as crashed and should be repaired]
    SELECT option_value FROM wp_options WHERE option_name = ‘facebook_admins’ LIMIT 1
    =========

    I don’t use facebook anything on my site and I have no idea what the open graph protocol is either.

    What should I do to repair this?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Try disabling each plugin until error goes away and then try activating default theme. This is standard troubleshooting and you may find out what the culprit is that is causing this behavior. Once you know you can start looking at that plugins/theme.

    Thread Starter hterry

    (@hterry)

    I can’t get to my dashboard as I only receive the first set of error messages

    If you ftp into your server, you can delete your theme and it will revert back to the default theme and the same is true for deleting plugins as well.

    Thread Starter hterry

    (@hterry)

    whoa, that’s extreme, that’s the only way?

    If your telling us that there is no other way to get into the site then yes. Of course you can download those files so you can always upload them again.

    Thread Starter hterry

    (@hterry)

    I was going to remove the plugins and theme I have just now but now I get that I need to repair my database and this message.

    where exactly should I place that in my config file so I can run this?
    ===============================
    To allow use of this page to automatically repair database problems, please add the following line to your wp-config.php file. Once this line is added to your config, reload this page.
    define(‘WP_ALLOW_REPAIR’, true);

    Thread Starter hterry

    (@hterry)

    I found in another thread where to put the code and ran the repair but received this

    —–
    wp_options: Table is marked as crashed
    —-

    however, I have full access to the dashboard and the site is functional. What should I do?

    Thread Starter hterry

    (@hterry)

    thanks so much for your help, I do have backups, and just did another one, so this shouldn’t be an issue.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘WP_Options error after host went down’ is closed to new replies.