I’m getting this error:
[08-Apr-2013 13:48:12 UTC] WordPress database error Table 'mytable.wp_users' doesn't exist for query SELECT COUNT(*) FROM wp_users INNER JOIN wp_usermeta ON (wp_users.ID = wp_usermeta.user_id) WHERE 1 = 1 AND ( wp_usermeta.meta_key = 'wp_1_capabilities' ) made by do_action_ref_array, call_user_func_array, Yoast_Tracking->tracking
The problem is that you forgot to use
$wpdb->prefixto get the real database prefix, instead of just assuming that that it was
The problem code is in
/inc/class-tracking.php on line 113
- The topic ‘WordPress database error when using prefix other than "wp_"’ is closed to new replies.