• WP 4.5.1

    I found the following in error_log. (It was one long line; I unrolled it for clarity.) It appears to be a string that is incorrectly built from fragments.

    An odd part is that “wp_posts” certainly exists.

    How do I trace what is causing the error?

    –[ 1 of 6 similar errors ]–
    [14-May-2020 18:20:04 UTC] WordPress database error
    Table ‘sohne_sma_v4.wp_posts’ doesn’t exist for query
    SELECT * FROM wp_posts
    WHERE ID = 6343
    LIMIT 1
    made by
    require(‘wp-blog-header.php’),
    require_once(‘wp-includes/template-loader.php’),
    include(‘/themes/Divi/page.php’),
    get_footer,
    locate_template,
    load_template,
    require_once(‘/themes/Divi/footer.php’),
    wp_nav_menu,
    apply_filters(‘wp_nav_menu_items’),
    WP_Hook->apply_filters,
    IS_Public->wp_nav_menu_items,
    IS_Public->get_menu_search_form,
    get_page_by_path, get_post,
    WP_Post::get_instance
    –[ end ]–

    • This topic was modified 4 years, 6 months ago by Jan Dembowski. Reason: Moved to Fixing WordPress, this is not an Everything else WordPress topic
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Mystery database error’ is closed to new replies.