Custom DB issue
-
Hi,
Im running the latest version of WP Slim stats with the latest version of Custom DB on latest version of WP (4.5.1)
Under circumstances i get a CANNOT CONNECT TO DATABASE error and the error log shows :
WordPress database error Table ‘XXXXXX.wordpresswp_comments’ doesn’t exist for query \r\n\t\t\t\tSELECT comment_author, COUNT(*) comment_count\r\n\t\t\t\tFROM wordpresswp_comments\r\n\t\t\t\tWHERE comment_author_IP = ‘XXX.XXX.XX.XX’ AND comment_approved = ‘spam’\r\n\t\t\t\tGROUP BY comment_author\r\n\t\t\t\tLIMIT 0,1 made by do_action(‘wp_ajax_nopriv_slimtrack’), call_user_func_array, wp_slimstat::slimtrack_ajax, wp_slimstat::slimtrack, referer: http://www.XXX.com/XXX/XX-XXX/
(i replaced real table name and IP for obvious reasons)
I suspect this is a bug since it shouldnt be checking for external database for wordpress comments but the main wordpress db? thats why it cant find the table?
Thanks
The topic ‘Custom DB issue’ is closed to new replies.