• Resolved Mark Howells-Mead

    (@markhowellsmead)


    I’m getting the following error message from time to time in a MultiSite installation. The shell script is run every five minutes, but the message is only sent to me via email irregularly. Everything is up-to-date, including WP CLI.

    WordPress database error Table 'sayhello_wp_2022.wpcq_2_users' doesn't exist for query 
    SELECT indexable_table.object_id
    FROM wpcq_2_yoast_indexable indexable_table
    LEFT JOIN wpcq_2_users AS source_table
    ON indexable_table.object_id = source_table.ID
    WHERE source_table.ID IS NULL
    AND indexable_table.object_id IS NOT NULL
    AND indexable_table.object_type = 'user'
    LIMIT 1000 made by include('phar:///usr/local/bin/wp/php/boot-phar.php'), include('phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php'), WP_CLI\bootstrap, WP_CLI\Bootstrap\LaunchRunner->process, WP_CLI\Runner->start, WP_CLI\Runner->run_command_and_exit, WP_CLI\Runner->run_command, WP_CLI\Dispatcher\Subcommand->invoke, call_user_func, WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}, call_user_func, Cron_Event_Command->run, Cron_Event_Command::run_event, do_action_ref_array('wpseo_start_cleanup_indexables'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Cleanup_Integration->run_cleanup, Yoast\WP\SEO\Integrations\Cleanup_Integration->Yoast\WP\SEO\Integrations\{closure}, Yoast\WP\SEO\Integrations\Cleanup_Integration->clean_indexables_for_object_type_and_source_table

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support Maybellyne

    (@maybellyne)

    Hello @markhowellsmead

    I’m sorry about the WordPress database error. We have seen unexpected issues where the previously optimized data is invalid or incomplete. We’ll start with a reset of the optimization to ensure we’ve removed any invalid data. We know that resetting the data may sound intimidating, but our?How to reset the Yoast indexables?guide will walk you through the process step by step. We’ve also summarized the steps below.

    1. Install & activate the Yoast Test Helper plugin
    2. Go to Tools > Yoast Test
    3. Locate the Yoast SEO section and click on the ‘Reset indexables tables & migrations‘, ‘Reset Prominent words calculation‘, and ‘Reset Internal link counter‘ buttons. After each click, the page will reload to confirm that the specific reset was successful.
    4. Go to SEO > Tools, and under SEO data, click the “Start SEO data optimization” button to allow Yoast to rescan your content.

    Please let us know if the reported issue remains after resetting the optimized data.

    Plugin Support Maybellyne

    (@maybellyne)

    This thread was marked resolved due to a lack of activity, but you’re always welcome to re-open the topic. Please read this post before opening a new request.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress database error – WPCQ users table missing’ is closed to new replies.