Skip to content

Instantly share code, notes, and snippets.

@landbryo
Last active May 16, 2025 18:46
Show Gist options
  • Save landbryo/8a370761fe4f31208bff1db5d47bac87 to your computer and use it in GitHub Desktop.
Save landbryo/8a370761fe4f31208bff1db5d47bac87 to your computer and use it in GitHub Desktop.
Index Error
Memory Usage: 989.32mb (Peak: 994.15mb)
Processed posts 199500 - 199850 of 409152. Last Object ID: 555809
Processed posts 199850 - 200200 of 409152. Last Object ID: 555451
Processed posts 200200 - 200550 of 409152. Last Object ID: 555079
Processed posts 200550 - 200900 of 409152. Last Object ID: 554725
Processed posts 200900 - 201250 of 409152. Last Object ID: 554363
Processed posts 201250 - 201600 of 409152. Last Object ID: 554013
Processed posts 201600 - 201950 of 409152. Last Object ID: 553663
Processed posts 201950 - 202300 of 409152. Last Object ID: 553306
Processed posts 202300 - 202650 of 409152. Last Object ID: 552952
Processed posts 202650 - 203000 of 409152. Last Object ID: 552602
Time elapsed: 00:00:34.000000 (+1)
Memory Usage: 1008.62mb (Peak: 1012.51mb)
Processed posts 203000 - 203350 of 409152. Last Object ID: 552252
[16-May-2025 09:02:43 UTC] WordPress database error Can't write to global__w - server switched to read-only mode. Retrying on configured fallback connection. for query UPDATE `wp_2_options` SET `option_value` = 'a:2:{s:7:\"post_id\";i:551902;s:4:\"time\";s
:19:\"2025-05-16 09:02:43\";}' WHERE `option_name` = 'vip_es_index_last_indexed_post_id' made by update_option
Processed posts 203350 - 203700 of 409152. Last Object ID: 551902
[16-May-2025 09:03:20 UTC] WordPress database error Server shutdown in progress for query SELECT permalink_id FROM wp_permalink_ids WHERE post_id = '551825' AND resolve_site_id = 2 made by Vox_Media\Vox_Media_Theme\Components\Permalink_ID::get_permalink_id
_by_post_id
[16-May-2025 09:03:20 UTC] Warning: vip-db-query-error: Database query failed - Server shutdown in progress in /chroot/var/www/db-config.php on line 93 [platform.qa-3.eater.com] [Sentry\ErrorHandler->handleError(), /chrootdb-config.php:93 trigger_error(),
/chrootwp-includes/class-wp-hook.php:324 {closure}(), /chrootwp-includes/class-wp-hook.php:348 WP_Hook->apply_filters(), /chrootwp-includes/plugin.php:517 WP_Hook->do_action(), /chrootwp-content/mu-plugins/drop-ins/hyperdb/db.php:1024 do_action('sql_query_
log'), /chrootwp-includes/class-wpdb.php:3027 hyperdb->query(), /chrootwp-content/themes/vox-media-theme/php/components/class-permalink-id.php:533 wpdb->get_var(), /chrootwp-content/themes/vox-media-theme/php/class-utils.php:731 Vox_Media\Vox_Media_Theme\C
omponents\Permalink_ID::get_permalink_id_by_post_id(), /chrootwp-content/themes/vox-media-theme/php/components/permalinks/class-post-link-elements.php:50 Vox_Media\Vox_Media_Theme\Utils::get_post_permalink_id(), /chrootwp-includes/class-wp-hook.php:324 Vox
_Media\Vox_Media_Theme\Components\Permalinks\Post_Link_Elements::filter_post_link_elements(), /chrootwp-includes/plugin.php:205 WP_Hook->apply_filters(), /chrootwp-content/themes/vox-media-theme/php/components/permalinks/class-post-permalinks.php:187 apply
_filters('vox_media__post_link_elements'), Vox_Media\Vox_Media_Theme\Components\Permalinks\Post_Permalinks->Vox_Media\Vox_Media_Theme\Components\Permalinks\{closure}(), /chrootwp-content/themes/vox-media-theme/php/class-utils.php:243 call_user_func(), /chr
ootwp-content/themes/vox-media-theme/php/components/permalinks/class-post-permalinks.php:177 Vox_Media\Vox_Media_Theme\Utils::with_cache(), /chrootwp-content/themes/vox-media-theme/php/components/permalinks/class-post-permalinks.php:302 Vox_Media\Vox_Media
_Theme\Components\Permalinks\Post_Permalinks->get_post_link_elements(), /chrootwp-includes/class-wp-hook.php:324 Vox_Media\Vox_Media_Theme\Components\Permalinks\Post_Permalinks->filter_post_link(), /chrootwp-includes/plugin.php:205 WP_Hook->apply_filters()
, /chrootwp-includes/link-template.php:375 apply_filters('post_type_link'), /chrootwp-includes/link-template.php:201 get_post_permalink(), /chrootwp-content/mu-plugins/search/elasticpress/includes/classes/Indexable/Post/Post.php:498 get_permalink(), /chroo
twp-content/mu-plugins/search/elasticpress/includes/classes/Indexable.php:389 ElasticPress\Indexable\Post\Post->prepare_document(), /chrootwp-content/mu-plugins/search/elasticpress/includes/classes/IndexHelper.php:652 ElasticPress\Indexable->bulk_index_dyn
amically(), /chrootwp-content/mu-plugins/search/elasticpress/includes/classes/IndexHelper.php:427 ElasticPress\IndexHelper->index_next_batch(), /chrootwp-content/mu-plugins/search/elasticpress/includes/classes/IndexHelper.php:323 ElasticPress\IndexHelper->
index_objects(), /chrootwp-content/mu-plugins/search/elasticpress/includes/classes/IndexHelper.php:79 ElasticPress\IndexHelper->process_sync_item(), /chrootwp-content/mu-plugins/search/elasticpress/includes/classes/Command.php:809 ElasticPress\IndexHelper-
>full_index(), ElasticPress\Command->index(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:100 call_user_func(), WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(), phar:///usr/local/bin/wp/vendor/wp-c
li/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:497 call_user_func(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:470 WP_CLI\Dispatcher\Subcommand->invoke(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/class-wp-cli.php:1468 WP_
CLI\Runner->run_command(), /chrootwp-content/mu-plugins/search/includes/classes/commands/class-corecommand.php:324 WP_CLI::run_command(), Automattic\VIP\Search\Commands\CoreCommand->index(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatch
er/CommandFactory.php:100 call_user_func(), WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:497 call_user_func(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-
cli/php/WP_CLI/Runner.php:470 WP_CLI\Dispatcher\Subcommand->invoke(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:493 WP_CLI\Runner->run_command(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1295 WP_CLI\Runn
er->run_command_and_exit(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php:28 WP_CLI\Runner->start(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php:84 WP_CLI\Bootstrap\LaunchRunner->process(), phar:///
usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php:35 WP_CLI\bootstrap(), phar:///usr/local/bin/wp/php/boot-phar.php:20 include('phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php'), /usr/local/bin/wp:4 include('phar:///usr/local/bin/wp/php/boo
t-phar.php')]
[16-May-2025 09:03:20 UTC] WordPress database error MySQL server has gone away for query SELECT * FROM wp_permalink_ids WHERE post_id = '551825' AND resolve_site_id = 12 made by Vox_Media\Vox_Media_Theme\Components\Permalink_ID::get_permalink_by_post_id
[16-May-2025 09:03:20 UTC] Warning: vip-db-query-error: Database query failed - MySQL server has gone away in /chroot/var/www/db-config.php on line 93 [platform.qa-3.eater.com] [Sentry\ErrorHandler->handleError(), /chrootdb-config.php:93 trigger_error(), /
chrootwp-includes/class-wp-hook.php:324 {closure}(), /chrootwp-includes/class-wp-hook.php:348 WP_Hook->apply_filters(), /chrootwp-includes/plugin.php:517 WP_Hook->do_action(), /chrootwp-content/mu-plugins/drop-ins/hyperdb/db.php:1024 do_action('sql_query_l
og'), /chrootwp-includes/class-wpdb.php:3061 hyperdb->query(), /chrootwp-content/themes/vox-media-theme/php/components/class-permalink-id.php:559 wpdb->get_row(), /chrootwp-content/themes/vox-media-theme/php/components/venue/class-venue-permalink.php:64 Vo
x_Media\Vox_Media_Theme\Components\Permalink_ID::get_permalink_by_post_id(), /chrootwp-includes/class-wp-hook.php:324 Vox_Media\Vox_Media_Theme\Components\Venue\Venue_Permalink->filter_post_link_elements(), /chrootwp-includes/plugin.php:205 WP_Hook->apply_
filters(), /chrootwp-content/themes/vox-media-theme/php/components/permalinks/class-post-permalinks.php:187 apply_filters('vox_media__post_link_elements'), Vox_Media\Vox_Media_Theme\Components\Permalinks\Post_Permalinks->Vox_Media\Vox_Media_Theme\Component
s\Permalinks\{closure}(), /chrootwp-content/themes/vox-media-theme/php/class-utils.php:243 call_user_func(), /chrootwp-content/themes/vox-media-theme/php/components/permalinks/class-post-permalinks.php:177 Vox_Media\Vox_Media_Theme\Utils::with_cache(), /ch
rootwp-content/themes/vox-media-theme/php/components/permalinks/class-post-permalinks.php:302 Vox_Media\Vox_Media_Theme\Components\Permalinks\Post_Permalinks->get_post_link_elements(), /chrootwp-includes/class-wp-hook.php:324 Vox_Media\Vox_Media_Theme\Comp
onents\Permalinks\Post_Permalinks->filter_post_link(), /chrootwp-includes/plugin.php:205 WP_Hook->apply_filters(), /chrootwp-includes/link-template.php:375 apply_filters('post_type_link'), /chrootwp-includes/link-template.php:201 get_post_permalink(), /chr
ootwp-content/mu-plugins/search/elasticpress/includes/classes/Indexable/Post/Post.php:498 get_permalink(), /chrootwp-content/mu-plugins/search/elasticpress/includes/classes/Indexable.php:389 ElasticPress\Indexable\Post\Post->prepare_document(), /chrootwp-c
ontent/mu-plugins/search/elasticpress/includes/classes/IndexHelper.php:652 ElasticPress\Indexable->bulk_index_dynamically(), /chrootwp-content/mu-plugins/search/elasticpress/includes/classes/IndexHelper.php:427 ElasticPress\IndexHelper->index_next_batch(),
/chrootwp-content/mu-plugins/search/elasticpress/includes/classes/IndexHelper.php:323 ElasticPress\IndexHelper->index_objects(), /chrootwp-content/mu-plugins/search/elasticpress/includes/classes/IndexHelper.php:79 ElasticPress\IndexHelper->process_sync_it
em(), /chrootwp-content/mu-plugins/search/elasticpress/includes/classes/Command.php:809 ElasticPress\IndexHelper->full_index(), ElasticPress\Command->index(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:100 call_u
ser_func(), WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:497 call_user_func(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:470 WP
_CLI\Dispatcher\Subcommand->invoke(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/class-wp-cli.php:1468 WP_CLI\Runner->run_command(), /chrootwp-content/mu-plugins/search/includes/classes/commands/class-corecommand.php:324 WP_CLI::run_command(), Autom
attic\VIP\Search\Commands\CoreCommand->index(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Dispatcher/CommandFactory.php:100 call_user_func(), WP_CLI\Dispatcher\CommandFactory::WP_CLI\Dispatcher\{closure}(), phar:///usr/local/bin/wp/vendor/wp
-cli/wp-cli/php/WP_CLI/Dispatcher/Subcommand.php:497 call_user_func(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:470 WP_CLI\Dispatcher\Subcommand->invoke(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:493 W
P_CLI\Runner->run_command(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Runner.php:1295 WP_CLI\Runner->run_command_and_exit(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/WP_CLI/Bootstrap/LaunchRunner.php:28 WP_CLI\Runner->start(), phar
:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/bootstrap.php:84 WP_CLI\Bootstrap\LaunchRunner->process(), phar:///usr/local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php:35 WP_CLI\bootstrap(), phar:///usr/local/bin/wp/php/boot-phar.php:20 include('phar:///usr/
local/bin/wp/vendor/wp-cli/wp-cli/php/wp-cli.php'), /usr/local/bin/wp:4 include('phar:///usr/local/bin/wp/php/boot-phar.php')]
Error: Briefly unavailable for scheduled maintenance. Check back in a minute.
[16-May-2025 09:03:20 UTC] PHP Fatal error: Uncaught Error: mysqli object is already closed in /chroot/var/www/wp-content/mu-plugins/drop-ins/hyperdb/db.php:1657
Stack trace:
#0 /chroot/var/www/wp-content/mu-plugins/drop-ins/hyperdb/db.php(1657): mysqli_get_server_info(Object(mysqli))
#1 /chroot/var/www/wp-content/mu-plugins/drop-ins/hyperdb/db.php(1170): hyperdb->ex_mysql_get_server_info(Object(mysqli))
#2 /chroot/var/www/wp-content/mu-plugins/drop-ins/hyperdb/db.php(1152): hyperdb->db_server_info(false)
#3 /chroot/var/www/wp-admin/includes/upgrade.php(2933): hyperdb->db_version()
#4 /chroot/var/www/wp-content/mu-plugins/search/includes/classes/queue/class-schema.php(138): dbDelta(Array, true)
#5 /chroot/var/www/wp-content/mu-plugins/search/includes/classes/queue/class-schema.php(107): Automattic\VIP\Search\Queue\Schema->_prepare_table()
#6 /chroot/var/www/wp-content/mu-plugins/search/includes/classes/queue/class-schema.php(88): Automattic\VIP\Search\Queue\Schema->prepare_table()
#7 /chroot/var/www/wp-includes/class-wp-hook.php(324): Automattic\VIP\Search\Queue\Schema->maybe_create_table_on_shutdown('')
#8 /chroot/var/www/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters(NULL, Array)
#9 /chroot/var/www/wp-includes/plugin.php(517): WP_Hook->do_action(Array)
#10 /chroot/var/www/wp-includes/load.php(1279): do_action('shutdown')
#11 [internal function]: shutdown_action_hook()
#12 {main}
thrown in /chroot/var/www/wp-content/mu-plugins/drop-ins/hyperdb/db.php on line 1657
Re-index complete on: https://platform.qa-3.eater.com (2)
[16-May-2025 09:03:20 UTC] WordPress database error 2025-05-16 09:03:20 Can't select global__r -
'referrer' => 'platform.qa-3.eater.com',
'server' => ,
'host' => 10.254.59.123,
'error' => ,
'errno' => 0,
'server_state' => down [ > 0.2 ] (111) 'Connection refused'
'lagged_status' => 3 for query SELECT count(a.action_id) FROM wp_2_actionscheduler_actions a WHERE 1=1 AND a.status IN ('pending') made by ActionScheduler_DBStore::query_actions
[16-May-2025 09:03:21 UTC] WordPress database error 2025-05-16 09:03:21 Can't select global__r -
'referrer' => 'platform.qa-3.eater.com',
'server' => ,
'host' => 10.254.86.212,
'error' => ,
'errno' => 0,
'server_state' => down [ > 0.2 ] (110) 'Connection timed out'
'lagged_status' => 3 for query SELECT count(a.action_id) FROM wp_2_actionscheduler_actions a WHERE 1=1 AND a.status IN ('pending') made by ActionScheduler_DBStore::query_actions
[16-May-2025 09:03:21 UTC] WordPress database error 2025-05-16 09:03:21 Can't select global__r -
'referrer' => 'platform.qa-3.eater.com',
'server' => ,
'host' => 10.254.86.212,
'error' => ,
'errno' => 0,
'server_state' => down [ > 0.2 ] (110) 'Connection timed out'
'lagged_status' => 3 for query SELECT count(a.action_id) FROM wp_2_actionscheduler_actions a WHERE 1=1 AND a.status IN ('pending') made by ActionScheduler_DBStore::query_actions
[16-May-2025 09:03:21 UTC] Warning: mysqli_real_connect(): (HY000/2002): Connection refused in /chroot/var/www/wp-content/mu-plugins/drop-ins/hyperdb/db.php on line 1492 [platform.qa-3.eater.com] [Sentry\ErrorHandler->handleError(), /chrootwp-content/mu-plugins/drop-ins/hyperdb/db.php:1492 mysqli_real_connect(), /chrootwp-content/mu-plugins/drop-ins/hyperdb/db.php:663 hyperdb->ex_mysql_connect(), /chrootwp-content/mu-plugins/drop-ins/hyperdb/db.php:915 hyperdb->db_connect(), /chrootwp-includes/class-wpdb.php:3027 hyperdb->query(), /chrootwp-content/plugins/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:646 wpdb->get_var(), /chrootwp-content/themes/vox-media-theme/php/components/migration/class-migration-events.php:162 ActionScheduler_DBStore->query_actions(), /chrootwp-includes/class-wp-hook.php:324 Vox_Media\Vox_Media_Theme\Components\Migration\Migration_Events->maybe_schedule_events(), /chrootwp-includes/class-wp-hook.php:348 WP_Hook->apply_filters(), /chrootwp-includes/plugin.php:517 WP_Hook->do_action(), /chrootwp-includes/load.php:1279 do_action('shutdown'), shutdown_action_hook()]
[16-May-2025 09:03:21 UTC] WordPress database error 2025-05-16 09:03:21 Can't select global__r -
'referrer' => 'platform.qa-3.eater.com',
'server' => ,
'host' => 10.254.59.123,
'error' => Connection refused,
'errno' => 2002,
'server_state' => down
'lagged_status' => 3 for query SELECT count(a.action_id) FROM wp_2_actionscheduler_actions a WHERE 1=1 AND a.status IN ('pending') made by ActionScheduler_DBStore::query_actions
[16-May-2025 09:03:21 UTC] Warning: vip-db-conn-error: Unable to connect to 10.254.59.123:3306 to read table wp_2_actionscheduler_actions (global) in /chroot/var/www/db-config.php on line 60 [platform.qa-3.eater.com] [Sentry\ErrorHandler->handleError(), /chrootdb-config.php:60 trigger_error(), /chrootwp-content/mu-plugins/drop-ins/hyperdb/db.php:375 vipv2_db_connection_error(), /chrootwp-content/mu-plugins/drop-ins/hyperdb/db.php:766 hyperdb->run_callbacks(), /chrootwp-content/mu-plugins/drop-ins/hyperdb/db.php:915 hyperdb->db_connect(), /chrootwp-includes/class-wpdb.php:3027 hyperdb->query(), /chrootwp-content/plugins/action-scheduler/classes/data-stores/ActionScheduler_DBStore.php:646 wpdb->get_var(), /chrootwp-content/themes/vox-media-theme/php/components/migration/class-migration-events.php:162 ActionScheduler_DBStore->query_actions(), /chrootwp-includes/class-wp-hook.php:324 Vox_Media\Vox_Media_Theme\Components\Migration\Migration_Events->maybe_schedule_events(), /chrootwp-includes/class-wp-hook.php:348 WP_Hook->apply_filters(), /chrootwp-includes/plugin.php:517 WP_Hook->do_action(), /chrootwp-includes/load.php:1279 do_action('shutdown'), shutdown_action_hook()]
Error: Briefly unavailable for scheduled maintenance. Check back in a minute.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment