Loop in db search?
-
Hi! Using version 12.6 and WP 5.1.1.
One of my users on a site I maintain used a statistics search (I do not know exactly which option) that resulted in the site not being available for minutes.
The log showed repetitive messages (thousands):[24-Mar-2019 16:57:15 UTC] WordPress database error User ‘xxxx’ has exceeded the ‘max_questions’ resource (current value: 300000) for query SELECT SUM(count) FROM wp_statistics_pages WHERE
URI= ‘/contact/’ ANDdate= ‘2018-06-24’ made by do_action(‘statistics_page_wps_pages_page’), WP_Hook->do_action, WP_Hook->apply_filters, WP_Statistics_Admin_Pages::log, include(‘/plugins/wp-statistics/includes/log/top-pages.php’), wp_statistics_pagesI can understand the exceeding messsage in itself but not that this plug-in goes on and on and on and on……..
Can you please look into this? Throwing one message is enough it seems to me and then break of the action.
The topic ‘Loop in db search?’ is closed to new replies.