Support » Plugin: Multisite Toolbar Additions » WordPress database error in logs (wp_ 0_options)

  • First of all thank you so much for your great plugin. It’s very helpful and I realy love to use it however I’m getting errors in my logs when I enter WP dashboard on any site of my network:

    `[06-Aug-2013 09:53:35 UTC] WordPress database error Table ‘dbxxxxx_25.wp_0_options’ doesn’t exist for query SELECT option_value FROM wp_
    0_options WHERE option_name = ‘home’ LIMIT 1 made by include(‘wp-admin/edit-form-advanced.php’), require_once(‘wp-admin/admin-header.php
    ‘), do_action(‘in_admin_header’), call_user_func_array, wp_admin_bar_render, do_action_ref_array, call_user_func_array, ddw_mstba_toolba
    r_main_site_dashboard, get_home_url, get_option`

    Any help will be very appreciated.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author daveshine (David Decker)


    Hi there!
    Thank you for your feedback and the compliments about the plugin, very much appreciated!! 🙂

    Also thanks for posting the error message you got.
    Currently, I am not completely sure what that means. I have plugin development constantly with debug/logs on and wasn’t getting any of such stuff.

    However, this string “ddw_mstba_toolbar_main_site_dashboard” is a function name from my plugin! – Those other strings in the list are function names from WordPress itself.
    To my understanding it might be a combination of various aspects and/or issues with the MySQL database or at least this one specific database table.

    I have to consult a database expert what that really means.

    I am sorry I cannot be much help for the moment, but I will try to find and help resolve in what your issue is.

    Thanks, Dave 🙂

    Thank you very much for looking into it!

    Plugin Author daveshine (David Decker)


    Hi epawel!

    The feedback on your error message I got from experts is, that the database itself may have issues. This message is really strange. It could point in the direction that this special database table is completely missing or “corrupted” (that means, has any errors etc.). Or anything is hindering WordPress from creating it.

    You’ll need someone to have a look into your database (via dashboard on your host etc., most likely via a “PHPMyAdmin interface”). In lots of cases such tables could be repaired via a function in MySQL.

    There could be any reason for such behavior: on behalf of hosting, an attack on your server, Malware, whatever.

    So to say, my plugin (Multisite Toolbar Additions) does NO interaction with the database at all, it only hooks in to WordPress functions for Admin Bar (Toolbar) and some others, so helper functions from my plugin could be listed in other functions from WordPress itself (that’s what you saw, same as WP with WP itself, and other functions from other plugins as well etc.).

    Have you any other plugins active that you know create own database tables?

    I hope you get this database issue resolved. Maybe contact your host for help and/or backups?!?

    Hope that helps a bit.
    Dave 🙂

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress database error in logs (wp_ 0_options)’ is closed to new replies.