I imported all these topics from a bbPress forum. I have updated indexes for that forum, it didn’t make a difference…
However, looking in the error log after I did the import and I see this:
[06-Sep-2013 01:48:40 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
post_count=0,
post_id_held=0,
post_count_held=0
WHERE topic_id=' at line 2 for query UPDATE wp_sftopics SET
post_id=,
post_count=0,
post_id_held=0,
post_count_held=0
WHERE topic_id=8443 made by require('wp-blog-header.php'), wp, WP->main, WP->parse_request, do_action_ref_array, call_user_func_array, sp_ahah_handler, include('/plugins/simple-press/admin/panel-toolbox/ahah/spa-ahah-toolbox-loader.php'), spa_save_housekeeping_data, sp_build_post_index, spdb_query