Post meta data errors after cleanup
-
Hi, after running clean post meta data I am getting many errors from WooCommerce Subscriptions plugin about post meta data not existing. Could this be related? Thanks
WordPress database error Table ‘xxxx.wp_postmeta’ doesn’t exist for query SELECT SUM(order_total_meta.meta_value)
FROM wp_postmeta as order_total_meta
RIGHT JOIN
(
SELECT DISTINCT wcorder.ID
FROM xxxx_posts AS wcorder
INNER JOIN xxxx_postmeta AS meta__subscription_renewal
ON (
wcorder.id = meta__subscription_renewal.post_id
AND
meta__subscription_renewal.meta_key = ‘_subscription_renewal’
)
WHERE wcorder.post_type IN ( ‘shop_order’ )
AND wcorder.post_status IN ( ‘wc-completed’, ‘wc-processing’, ‘wc-on-hold’, ‘wc-refunded’ )
AND wcorder.post_date >= ‘2019-02-01’
AND wcorder.post_date < ‘2019-02-09’
) AS orders ON orders.ID = order_total_meta.post_id
WHERE order_total_meta.meta_key = ‘_order_total’ made by wp_dashboard, do_meta_boxes, WC_Admin_Dashboard->status_widget, do_action(‘woocommerce_after_dashboard_status_widget’), WP_Hook->do_action, WP_Hook->apply_filters, WCS_Report_Dashboard::add_stats_to_dashboard, WCS_Report_Dashboard::get_data
- The topic ‘Post meta data errors after cleanup’ is closed to new replies.