504 Error
Hi There ,
Im getting a 504 error because of a string of code:
| 7 | justmotors_usr | localhost | justmotors_wp | Query | 416 | statistics | SELECT SQL_CALC_FOUND_ROWS * FROM wp_posts INNER JOIN wp_term_relationships AS r ON (wp_posts.ID = r.object_id) INNER JOIN wp_term_taxonomy AS x ON (r.term_taxonomy_id = x.term_taxonomy_id) AND (x.taxonomy = 'ad_tag' OR x.taxonomy = 'ad_cat' OR 1=1) INNER JOIN wp_term_relationships AS tr2 ON (wp_posts.ID = tr2.object_id) INNER JOIN wp_term_taxonomy AS tt2 ON (tr2.term_taxonomy_id = tt2.term_taxonomy_id) AND tt2.term_id IN ('11') INNER JOIN wp_postmeta AS m ON (wp_posts.ID = m.post_id) INNER JOIN wp_terms AS t ON x.term_id = t.term_id INNER JOIN wp_postmeta AS mt1 ON (wp_posts.ID = mt1.post_id) INNER JOIN wp_postmeta AS mt2 ON (wp_posts.ID = mt2.post_id) INNER JOIN wp_postmeta AS mt3 ON (wp_posts.ID = mt3.post_id) INNER JOIN wp_postmeta AS mt4 ON (wp_posts.ID = mt4.post_id) INNER JOIN wp_postmeta AS mt5 ON (wp_posts.ID = mt5.post_id) INNER JOIN wp_postmeta AS mt6 ON (wp_posts.ID = mt6.post_id) INNER JOIN wp_postmeta AS mt7 ON (wp_posts.ID = mt7.post_id) INNER JOIN wp_postmeta AS mt8 ON (wp_posts.ID = mt8.post_id) INNER JOIN wp_postmeta AS mt9 ON (wp_posts.ID = mt9.post_id) AND (((wp_posts.post_title LIKE '%%') OR (wp_posts.post_content LIKE '%%') OR ((t.name LIKE '%%')) OR ((t.slug LIKE '%%')))) AND (wp_posts.post_status = 'publish') AND (wp_posts.post_type IN ('ad_listing')) AND ((mt1.meta_key = 'cp_price') AND (CAST(mt1.meta_value AS SIGNED) BETWEEN '1000' AND '5000')) AND ((mt2.meta_key = 'cp_region') AND (CAST(mt2.meta_value AS CHAR) IN ('Leinster'))) AND ((mt3.meta_key = 'cp_state') AND (CAST(mt3.meta_value AS CHAR) IN ('Carlow'))) AND ((mt4.meta_key = 'cp_car_manufacturer') AND (CAST(mt4.meta_value AS CHAR) IN ('Mitsubishi,Skoda,Volkswagen'))) AND ((mt5.meta_key = 'cp_engine_capacity') AND (CAST(mt5.meta_value AS CHAR) IN ('1.4,1.5,1.6,1.7,1.8,1.9'))) AND ((mt6.meta_key = 'cp_fuel_type') AND (CAST(mt6.meta_value AS CHAR) IN ('Diesel'))) AND ((mt7.meta_key = 'cp_damaged_repairablesbody_type') AND (CAST(mt7.meta_value AS CHAR) IN ('Saloon,Hatchback'))) AND ((mt8.meta_key = 'cp_transmission_type') AND (CAST(mt8.meta_value AS CHAR) IN ('Manual,Automatic'))) AND ((mt9.meta_key = 'cp_mileage') AND (CAST(mt9.meta_value AS CHAR) IN ('Under 193\'000 Km'))) AND wp_posts.post_date_gmt > '2015-08-14 11:01:33' GROUP BY wp_posts.ID |
Is this due to the child them or main theme?
Would it be possible to fix be removing the child theme via the server