WordPress database error The SELECT would examine more than MAX_JOIN_SIZE rows
-
I went through all the settings, so I can’t say why / at which action the following errors happened (it hints to “WpdiscuzDBManager-]getActiveUsers”), which I found later in the server log (9 times):
`
[Sun Nov 20 14:35:28 2022] [php:notice] [pid 5667] [client xxx] [host xxx] WordPress database error The SELECT would examine more than MAX_JOIN_SIZE rows; check your WHERE and use SET SQL_BIG_SELECTS=1 or SET MAX_JOIN_SIZE=# if the SELECT is okay for query SELECT
c.
comment_author_email,
c.
comment_author, COUNT(
c.
comment_ID) AS
count, IFNULL(
s.
count, 0) AS
scount, IFNULL(
fi.
count, 0) AS
ficount, IFNULL(
fw.
count, 0) AS
fwcount, MAX(
c.
comment_date_gmt) AS
last_dateFROM
wl_commentsAS
cLEFT JOIN (SELECT
email, COUNT(
email) AS
countFROM
wl_wc_comments_subscriptionWHERE
confirm= 1 GROUP BY
email) AS
sON
s.
emailLIKE
c.
comment_author_emailLEFT JOIN (SELECT
follower_email, COUNT(
follower_email) AS
countFROM
wl_wc_follow_usersWHERE
confirm= 1 GROUP BY
follower_email) AS
fiON
fi.
follower_emailLIKE
c.
comment_author_emailLEFT JOIN (SELECT
user_email, COUNT(
user_email) AS
countFROM
wl_wc_follow_usersWHERE
confirm= 1 GROUP BY
user_email) AS
fwON
fw.
user_emailLIKE
c.
comment_author_emailWHERE
c.
comment_approved= '1' GROUP BY
c.
comment_author_email,
c.
comment_authorORDER BY
countDESC LIMIT 7 OFFSET 0; made by do_action('wp_ajax_wpd_stat_user'), WP_Hook-]do_action, WP_Hook-]apply_filters, WpdiscuzHelperAjax-]wpd_stat_user, WpdiscuzDBManager-]getActiveUsers
`
- The topic ‘WordPress database error The SELECT would examine more than MAX_JOIN_SIZE rows’ is closed to new replies.