Duplicate entry inserting into wp_yoast_indexable_hierarchy table
-
Hello,
We are regularly seing the following error pop:
Erreur de la base de données WordPress Duplicate entry '43275-4' for key 'PRIMARY' pour la requête INSERT INTO
wp_yoast_indexable_hierarchy
(indexable_id
,ancestor_id
,depth
,blog_id
) VALUES ('43275', '4', '2', '1') faite par do_action('wp_ajax_save-attachment'), WP_Hook->do_action, WP_Hook->apply_filters, wp_ajax_save_attachment, wp_update_post, wp_insert_attachment, wp_insert_post, do_action('edit_attachment'), 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_Hierarchy_Builder->build, Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder->save_ancestors, Yoast\WP\SEO\Repositories\Indexable_Hierarchy_Repository->add_ancestor, Yoast\WP\Lib\Model->save, Yoast\WP\Lib\ORM->save, Yoast\WP\Lib\ORM::_execute Jul 15 06:21:05 prod-sd-wordpress-1 apache2: Erreur de la base de données WordPress Duplicate entry '43275-43261' for key 'PRIMARY' pour la requête INSERT INTOwp_yoast_indexable_hierarchy
(indexable_id
,ancestor_id
,depth
,blog_id
) VALUES ('43275', '43261', '1', '1') faite par do_action('wp_ajax_save-attachment'), WP_Hook->do_action, WP_Hook->apply_filters, wp_ajax_save_attachment, wp_update_post, wp_insert_attachment, wp_insert_post, do_action('edit_attachment'), 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_Hierarchy_Builder->build, Yoast\WP\SEO\Builders\Indexable_Hierarchy_Builder->save_ancestors, Yoast\WP\SEO\Repositories\Indexable_Hierarchy_Repository->add_ancestor, Yoast\WP\Lib\Model->save, Yoast\WP\Lib\ORM->save, Yoast\WP\Lib\ORM::_executeNote that CRON is configured to run every minute and that the site is decently big (hundreds of thousands of posts).
Everything has been indexed through the wp cli tool.
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Duplicate entry inserting into wp_yoast_indexable_hierarchy table’ is closed to new replies.