Error if install on multisite that already have subsite

4.22K viewsUpdates
0

I’m using Anspress 4, WP 4.7.2

Below is the process until I got error:

  1. Create subsite
  2. Activate anspress
  3. When accessing subsite dashboard, it gives error below:
[05-Mar-2017 05:01:48 UTC] WordPress database error Table 'mywebsite.wp_2_ap_qameta' doesn't exist for query SELECT count(*) as count, p.post_status FROM wp_2_posts p INNER JOIN wp_2_ap_qameta qameta ON p.ID = qameta.post_id WHERE p.post_status NOT IN ('trash', 'draft') AND p.post_type = 'question' AND qameta.flags > 0 GROUP BY p.post_status made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), require_once('wp-admin/includes/menu.php'), do_action('admin_menu'), WP_Hook->do_action, WP_Hook->apply_filters, AnsPress_Admin::add_plugin_admin_menu, AnsPress_Admin::menu_counts, ap_total_posts_count
[05-Mar-2017 05:01:48 UTC] WordPress database error Table 'mywebsite.wp_2_ap_qameta' doesn't exist for query SELECT count(*) as count, p.post_status FROM wp_2_posts p INNER JOIN wp_2_ap_qameta qameta ON p.ID = qameta.post_id WHERE p.post_status NOT IN ('trash', 'draft') AND p.post_type = 'answer' AND qameta.flags > 0 GROUP BY p.post_status made by require_once('wp-admin/admin.php'), require('wp-admin/menu.php'), require_once('wp-admin/includes/menu.php'), do_action('admin_menu'), WP_Hook->do_action, WP_Hook->apply_filters, AnsPress_Admin::add_plugin_admin_menu, AnsPress_Admin::menu_counts, ap_total_posts_count

Hello,
This issue is already in my tasks list. Will provide fix this week.

0

Hello,

I tested MU with AnsPress today and don’t see this issue. Please make sure to deactivate and then activate AnsPress again if you manually update AnsPress.

Cheers.