• Levis

    (@levismodding)


    Hi, I received this log entry a couple of days ago, and it’s occurring every few hours. Please note that I’ve replaced sensitive information with placeholders for security reasons. This plugin worked without any issues for the past two years. Here is the log:

    [17-Nov-2024 22:25:13 UTC] WordPress database error Table ‘database_name.wp_table_name’ doesn’t exist for query SELECT
    t.term_id
    FROM custom_prefix_terms as t
    LEFT JOIN custom_prefix_term_taxonomy as tt ON tt.term_id = t.term_id
    WHERE 1 = 1 AND

            ( t.term_id IN
                (
                    SELECT tt.term_id
                    FROM custom_prefix_term_taxonomy as tt
                    WHERE tt.taxonomy = 'category'
                    AND 
                        (
                            tt.count > 0 OR
                            EXISTS (
                                SELECT 1
                                FROM wp_table_name as tt2
                                WHERE tt2.parent = tt.term_id 
                                AND tt2.count > 0
                            )
                        )
                )
            )

    ORDER BY t.term_id ASC
    LIMIT 0, 1000
    /* 1 = 1 */ made by require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Sitemap\RequestParser->checkRequest, AIOSEO\Plugin\Common\Sitemap\RequestParser->checkForGeneralSitemap, AIOSEO\Plugin\Common\Sitemap\Sitemap->generate, AIOSEO\Plugin\Common\Sitemap\Content->get, AIOSEO\Plugin\Common\Sitemap\Content->terms, AIOSEO\Plugin\Common\Sitemap\Query->terms, AIOSEO\Plugin\Common\Utils\Database->run
    [17-Nov-2024 22:25:13 UTC] WordPress database error Table ‘database_name.wp_table_name’ doesn’t exist for query SELECT
    count(t.term_id) as total
    FROM custom_prefix_terms as t
    LEFT JOIN custom_prefix_term_taxonomy as tt ON tt.term_id = t.term_id
    WHERE 1 = 1 AND

            ( t.term_id IN
                (
                    SELECT tt.term_id
                    FROM custom_prefix_term_taxonomy as tt
                    WHERE tt.taxonomy = 'category'
                    AND 
                        (
                            tt.count > 0 OR
                            EXISTS (
                                SELECT 1
                                FROM wp_table_name as tt2
                                WHERE tt2.parent = tt.term_id 
                                AND tt2.count > 0
                            )
                        )
                )
            )

    /* 1 = 1 */ made by require(‘wp-blog-header.php’), wp, WP->main, WP->parse_request, do_action_ref_array(‘parse_request’), WP_Hook->do_action, WP_Hook->apply_filters, AIOSEO\Plugin\Common\Sitemap\RequestParser->checkRequest, AIOSEO\Plugin\Common\Sitemap\RequestParser->checkForGeneralSitemap, AIOSEO\Plugin\Common\Sitemap\Sitemap->generate, AIOSEO\Plugin\Common\Sitemap\Content->getTotal, AIOSEO\Plugin\Common\Sitemap\Query->terms, AIOSEO\Plugin\Common\Utils\Database->run


Viewing 1 replies (of 1 total)
  • Plugin Author arnaudbroes

    (@arnaudbroes)

    Hey @levismodding,

    We just released a small update that should address this issue. Can you try pulling in the latest update to see if that resolves this error?

    Thanks!

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.