Theme Causing allot of mySQL DB Connections
Hi support,
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.
Changes:
//$my_query_num = new WP_Query($args1);
$my_query_num = ();
/nas/
wp/www/cluster-1198/siarat/
wp-content/themes/classipress/framework/kernel/functions.php Line 242
Changes:
//$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.
Thanks.