Repository navigation
Database error message when Yoast plugin is checked for Performance #350
Copy link
Copy link
Closed
Description
Steps to reproduce:
- Install
Yoastplugin - In the Plugin Check, enable
Performanceonly - Run the check
- Sometimes AJAX is completed but some times it halts. Nevertheless lots of notices are added in the log file.
Content of debug.log:
[20-Dec-2023 10:16:40 UTC] WordPress database error Table 'wordpress.wp_pc_yoast_primary_term' doesn't exist for query SELECT * FROM `wp_pc_yoast_primary_term` WHERE `post_id` = '4' AND `taxonomy` = 'category' LIMIT 1 made by do_action('wp_ajax_plugin_check_run_checks'), WP_Hook->do_action, WP_Hook->apply_filters, WordPress\Plugin_Check\Admin\Admin_AJAX->run_checks, WordPress\Plugin_Check\Checker\Abstract_Check_Runner->run, WordPress\Plugin_Check\Checker\Preparations\Demo_Posts_Creation_Preparation->prepare, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Watchers\Primary_Term_Watcher->save_primary_terms, Yoast\WP\SEO\Builders\Primary_Term_Builder->build, Yoast\WP\SEO\Builders\Primary_Term_Builder->save_primary_term, Yoast\WP\SEO\Repositories\Primary_Term_Repository->find_by_post_id_and_taxonomy, Yoast\WP\Lib\ORM->find_one, Yoast\WP\Lib\ORM->run, Yoast\WP\Lib\ORM::execute
[20-Dec-2023 10:16:40 UTC] WordPress database error Table 'wordpress.wp_pc_yoast_primary_term' doesn't exist for query SELECT * FROM `wp_pc_yoast_primary_term` WHERE `post_id` = '4' AND `taxonomy` = 'category' LIMIT 1 made by do_action('wp_ajax_plugin_check_run_checks'), WP_Hook->do_action, WP_Hook->apply_filters, WordPress\Plugin_Check\Admin\Admin_AJAX->run_checks, WordPress\Plugin_Check\Checker\Abstract_Check_Runner->run, WordPress\Plugin_Check\Checker\Preparations\Demo_Posts_Creation_Preparation->prepare, wp_insert_post, do_action('save_post'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Watchers\Primary_Term_Watcher->save_primary_terms, Yoast\WP\SEO\Builders\Primary_Term_Builder->build, Yoast\WP\SEO\Builders\Primary_Term_Builder->save_primary_term, Yoast\WP\SEO\Repositories\Primary_Term_Repository->find_by_post_id_and_taxonomy, Yoast\WP\Lib\ORM->find_one, Yoast\WP\Lib\ORM->run, Yoast\WP\Lib\ORM::execute
[20-Dec-2023 10:16:40 UTC] WordPress database error Table 'wordpress.wp_pc_yoast_indexable' doesn't exist for query SELECT * FROM `wp_pc_yoast_indexable` WHERE `object_id` = '4' AND `object_type` = 'post' LIMIT 1 made by do_action('wp_ajax_plugin_check_run_checks'), WP_Hook->do_action, WP_Hook->apply_filters, WordPress\Plugin_Check\Admin\Admin_AJAX->run_checks, WordPress\Plugin_Check\Checker\Abstract_Check_Runner->run, WordPress\Plugin_Check\Checker\Preparations\Demo_Posts_Creation_Preparation->prepare, wp_insert_post, do_action('wp_insert_post'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable, Yoast\WP\SEO\Repositories\Indexable_Repository->find_by_id_and_type, Yoast\WP\Lib\ORM->find_one, Yoast\WP\Lib\ORM->run, Yoast\WP\Lib\ORM::execute
[20-Dec-2023 10:16:40 UTC] WordPress database error Table 'wordpress.wp_pc_yoast_indexable' doesn't exist for query SELECT * FROM `wp_pc_yoast_indexable` WHERE `object_id` = '4' AND `object_type` = 'post' LIMIT 1 made by do_action('wp_ajax_plugin_check_run_checks'), WP_Hook->do_action, WP_Hook->apply_filters, WordPress\Plugin_Check\Admin\Admin_AJAX->run_checks, WordPress\Plugin_Check\Checker\Abstract_Check_Runner->run, WordPress\Plugin_Check\Checker\Preparations\Demo_Posts_Creation_Preparation->prepare, wp_insert_post, do_action('wp_insert_post'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable, Yoast\WP\SEO\Repositories\Indexable_Repository->find_by_id_and_type, Yoast\WP\Lib\ORM->find_one, Yoast\WP\Lib\ORM->run, Yoast\WP\Lib\ORM::execute
[20-Dec-2023 10:16:40 UTC] WordPress database error Table 'wordpress.wp_pc_yoast_primary_term' doesn't exist for query SELECT * FROM `wp_pc_yoast_primary_term` WHERE `post_id` = '4' AND `taxonomy` = 'category' LIMIT 1 made by do_action('wp_ajax_plugin_check_run_checks'), WP_Hook->do_action, WP_Hook->apply_filters, WordPress\Plugin_Check\Admin\Admin_AJAX->run_checks, WordPress\Plugin_Check\Checker\Abstract_Check_Runner->run, WordPress\Plugin_Check\Checker\Preparations\Demo_Posts_Creation_Preparation->prepare, wp_insert_post, do_action('wp_insert_post'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable, Yoast\WP\SEO\Builders\Indexable_Builder->build_for_id_and_type, Yoast\WP\SEO\Builders\Indexable_Builder->build, Yoast\WP\SEO\Builders\Primary_Term_Builder->build, Yoast\WP\SEO\Builders\Primary_Term_Builder->save_primary_term, Yoast\WP\SEO\Repositories\Primary_Term_Repository->find_by_post_id_and_taxonomy, Yoast\WP\Lib\ORM->find_one, Yoast\WP\Lib\ORM->run, Yoast\WP\Lib\ORM::execute
[20-Dec-2023 10:16:40 UTC] WordPress database error Table 'wordpress.wp_pc_yoast_primary_term' doesn't exist for query SELECT * FROM `wp_pc_yoast_primary_term` WHERE `post_id` = '4' AND `taxonomy` = 'category' LIMIT 1 made by do_action('wp_ajax_plugin_check_run_checks'), WP_Hook->do_action, WP_Hook->apply_filters, WordPress\Plugin_Check\Admin\Admin_AJAX->run_checks, WordPress\Plugin_Check\Checker\Abstract_Check_Runner->run, WordPress\Plugin_Check\Checker\Preparations\Demo_Posts_Creation_Preparation->prepare, wp_insert_post, do_action('wp_insert_post'), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Watchers\Indexable_Post_Watcher->build_indexable, Yoast\WP\SEO\Builders\Indexable_Builder->build_for_id_and_type, Yoast\WP\SEO\Builders\Indexable_Builder->build, Yoast\WP\SEO\Builders\Primary_Term_Builder->build, Yoast\WP\SEO\Builders\Primary_Term_Builder->save_primary_term, Yoast\WP\SEO\Repositories\Primary_Term_Repository->find_by_post_id_and_taxonomy, Yoast\WP\Lib\ORM->find_one, Yoast\WP\Lib\ORM->run, Yoast\WP\Lib\ORM::execute
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
mukeshpanchal27 commentedon Dec 20, 2023
Thank you for raising the issue. This issue has already reported in #234.