Yoast caused an error in debug mode
-
Hello,
Thank you for your great product!I ran debug mode on my site and found out Yoast caused an error.
The error looks like this:
[16-Oct-2021 18:30:45 UTC] WordPress database error Duplicate entry '2951-957' for key 'PRIMARY' for query INSERT INTO
*****_yoast_indexable_hierarchy(
indexable_id,
ancestor_id,
depth,
blog_id) VALUES ('2951', '957', '1', '1') made by do_action('wp_ajax_save-attachment'), WP_Hook->do_action, WP_Hook->apply_filters, call_user_func_array, 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, call_user_func_array, 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\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
What could be the reason?
- The topic ‘Yoast caused an error in debug mode’ is closed to new replies.