Title: Causing Server 500 Error
Last modified: February 8, 2025

---

# Causing Server 500 Error

 *  Resolved [nickfarelli](https://wordpress.org/support/users/nickfarelli/)
 * (@nickfarelli)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/causing-server-500-error/)
 * Yoast is obiously causing a Server 500 error on my site. All site except the 
   main page.
 * Only solution is resetting permalinks, but the problem re-occurs every day.
 * [07-Feb-2025 23:57:55 UTC] Cron-Reschedule-Event-Fehler für Hook: action_scheduler_run_queue,
   Fehlercode: could_not_set, Fehlermeldung: Die Cron-Ereignisliste konnte nicht
   gespeichert werden., Daten: {“schedule”:”every_minute”,”args”:[“WP Cron”],”interval”:
   60}
   [08-Feb-2025 04:23:09 UTC] Cron-Reschedule-Event-Fehler für Hook: action_scheduler_run_queue,
   Fehlercode: could_not_set, Fehlermeldung: Die Cron-Ereignisliste konnte nicht
   gespeichert werden., Daten: {“schedule”:”every_minute”,”args”:[“WP Cron”],”interval”:
   60}[08-Feb-2025 06:32:31 UTC] WordPress database error Duplicate entry ‘35764-
   0’ for key ‘wp_yoast_indexable_hierarchy.PRIMARY’ for query INSERT INTO `wp_yoast_indexable_hierarchy`(`
   indexable_id`, `ancestor_id`, `depth`, `blog_id`) VALUES (‘35764’, ‘0’, ‘0’, ‘
   1’) made by do_action_ref_array(‘wpseo_indexable_index_batch’), WP_Hook->do_action,
   WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Admin\Background_Indexing_Integration-
   >index, Yoast\WP\SEO\Actions\Indexing\Indexable_Post_Indexation_Action->index,
   Yoast\WP\SEO\Repositories\Indexable_Repository->find_by_id_and_type, Yoast\WP\
   SEO\Repositories\Indexable_Repository->upgrade_indexable, 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[08-Feb-2025 06:
   32:32 UTC] WordPress database error Duplicate entry ‘35139-0’ for key ‘wp_yoast_indexable_hierarchy.
   PRIMARY’ for query INSERT INTO `wp_yoast_indexable_hierarchy` (`indexable_id`,`
   ancestor_id`, `depth`, `blog_id`) VALUES (‘35139’, ‘0’, ‘0’, ‘1’) made by do_action_ref_array(‘
   wpseo_indexable_index_batch’), WP_Hook->do_action, WP_Hook->apply_filters, Yoast\
   WP\SEO\Integrations\Admin\Background_Indexing_Integration->index, Yoast\WP\SEO\
   Actions\Indexing\Indexable_Post_Indexation_Action->index, Yoast\WP\SEO\Repositories\
   Indexable_Repository->find_by_id_and_type, Yoast\WP\SEO\Repositories\Indexable_Repository-
   >upgrade_indexable, 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[08-
   Feb-2025 06:32:32 UTC] WordPress database error Duplicate entry ‘35120-0’ for
   key ‘wp_yoast_indexable_hierarchy.PRIMARY’ for query INSERT INTO `wp_yoast_indexable_hierarchy`(`
   indexable_id`, `ancestor_id`, `depth`, `blog_id`) VALUES (‘35120’, ‘0’, ‘0’, ‘
   1’) made by do_action_ref_array(‘wpseo_indexable_index_batch’), WP_Hook->do_action,
   WP_Hook->apply_filters, Yoast\WP\SEO\Integrations\Admin\Background_Indexing_Integration-
   >index, Yoast\WP\SEO\Actions\Indexing\Indexable_Post_Indexation_Action->index,
   Yoast\WP\SEO\Repositories\Indexable_Repository->find_by_id_and_type, Yoast\WP\
   SEO\Repositories\Indexable_Repository->upgrade_indexable, 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

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Support [Maybellyne](https://wordpress.org/support/users/maybellyne/)
 * (@maybellyne)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/causing-server-500-error/#post-18299636)
 * Hello [@nickfarelli](https://wordpress.org/support/users/nickfarelli/)
 * I’m sorry about your experience. Please try the following:
    1. Install & activate the [Yoast Test Helper plugin](https://wordpress.org/plugins/yoast-test-helper/)
    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 [Jose Varghese](https://wordpress.org/support/users/josevarghese/)
 * (@josevarghese)
 * [1 year, 4 months ago](https://wordpress.org/support/topic/causing-server-500-error/#post-18312775)
 * This thread was marked resolved due to a lack of recent activity. The original
   poster can change the status to `Not Resolved` to re-open the issue or [open a new topic](https://wordpress.org/support/plugin/wordpress-seo#new-topic-0).
 * If you are not the original poster but have a similar issue, please [open a new topic](https://wordpress.org/support/plugin/wordpress-seo#new-topic-0).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Causing Server 500 Error’ is closed to new replies.

 * ![](https://ps.w.org/wordpress-seo/assets/icon-256x256.gif?rev=3419908)
 * [Yoast SEO - Advanced SEO with real-time guidance and built-in AI](https://wordpress.org/plugins/wordpress-seo/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wordpress-seo/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wordpress-seo/)
 * [Active Topics](https://wordpress.org/support/plugin/wordpress-seo/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wordpress-seo/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wordpress-seo/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Jose Varghese](https://wordpress.org/support/users/josevarghese/)
 * Last activity: [1 year, 4 months ago](https://wordpress.org/support/topic/causing-server-500-error/#post-18312775)
 * Status: resolved