V2 Calendar Month View MAX_JOIN_SIZE error
-
Calendar Month view not returning events when V2 is enabled. WP debug log shows “WordPress database error The SELECT would examine more than MAX_JOIN_SIZE rows;… ”
Both my Production and staging environments on ipower hosting have the issue.
My “Playground Test” Websites do not have the issue, calendar view returns the expected events (IONOS hosting service and MAMP PRO desktop).Tested with all plugins deactivated (WordFence 7.5.8, TablePress 1.14, Duplicator 1.4.4) and cache/cookies cleared. Did not resolve the issue.
Tried a recommendation I found on the web to add the following to the theme function.php file.
add_action(‘init’, ‘tribe_allow_large_joins’);
function tribe_allow_large_joins(){
global $wpdb;
$wpdb->query(‘SET SQL_BIG_SELECTS=1’);This surpressed the debug log message – however the events were still not returned.
Configuration has WordPress 5.9.1, PHP 7.4.10 (on ipower hosting)
The URL I provided is my staging site.
Any suggestions or help would be appreciatedThe page I need help with: [log in to see the link]
- The topic ‘V2 Calendar Month View MAX_JOIN_SIZE error’ is closed to new replies.