• Resolved SGURYGF

    (@sgurygf)


    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

    https://ww.wp.xz.cn/plugins/wp-slimstat/

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Contributor Jason Crouse

    (@coolmann)

    Hi,

    quick question: is wordpresswp_ your table prefix in wp-config? It look indeed like a bug affecting Slimstat. We will release fix in the next few weeks.

    Best,
    Jason

    Thread Starter SGURYGF

    (@sgurygf)

    Hello,

    Yes, wordpresswp_ is the prefix of my main wordpress installation.

    Thanks

    Plugin Contributor Jason Crouse

    (@coolmann)

    Hi there,

    version 4.3.2.3 was just released to address this problem. Please let me know if that works for you.

    Best,
    Jason.

    Thread Starter SGURYGF

    (@sgurygf)

    Great, I will test it and will let you know.

    Thanks!

    Plugin Contributor Jason Crouse

    (@coolmann)

    Great, thanks.

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Custom DB issue’ is closed to new replies.