WP_Query hit max joins… How else can I build a search function that uses custom fields?

This seemed to do the trick, running it before my WP_Query:

$wpdb->query('SET OPTION SQL_BIG_SELECTS = 1');

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)