Hi there
My error log is 70mb due to Yoast errors. Nothing I have tired will stop these errrors. We’re using PHP 8.0, Yoast 20.13, and WP 6.3.
I have already installed the Yoast Test plugin and clicked “Reset Indexables tables & migrations” – this has not fixed the issue. Can anyone help??
Below is one example:
[16-Aug-2023 04:21:39 UTC] WordPress database error Duplicate entry ’22-0′ for key ‘PRIMARY’ for query INSERT INTO w4pw_yoast_indexable_hierarchy (indexable_id, ancestor_id, depth, blog_id) VALUES (’22’, ‘0’, ‘0’, ‘1’) made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, capitalize_tag_names, wp_update_term, do_action(‘edited_term’), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Watchers\Indexable_Term_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
[16-Aug-2023 04:22:24 UTC] WordPress database error Deadlock found when trying to get lock; try restarting transaction for query UPDATE w4pw_actionscheduler_actions SET attempts = attempts+1, status=’in-progress’, last_attempt_gmt = ‘2023-08-16 04:21:59’, last_attempt_local = ‘2023-08-16 14:21:59’ WHERE action_id = 222987 made by do_action_ref_array(‘action_scheduler_run_queue’), WP_Hook->do_action, WP_Hook->apply_filters, ActionScheduler_QueueRunner->run, ActionScheduler_QueueRunner->do_batch, ActionScheduler_Abstract_QueueRunner->process_action, ActionScheduler_DBStore->log_execution