Theme Causing allot of mySQL DB Connections
after shifting the website to new host, wpengine. the website causes too many database connections which brings the entire mySQL down and the site goes down, after opening ticket with the support this is what they told me.
Yes, changes were made to your theme, as it took down the entire servers database. You will need to get this theme optimized, so it is not having adverse effects on the server.
//$my_query_num = new WP_Query($args1);
$my_query_num = ();
-content/themes/classipress/framework/kernel/functions.php Line 242
//$terms = get_terms( $options['taxonomy'], 'hide_empty=0&hierarchical=1&pad_counts=1&show_cou nt=1&;orderby=name&order='.$options['cat_order'] );
$terms - '';
Could you please help me sort this out, as the site is running without categories menu and directory style.