array(1) { [0]=> array(6) { ["file"]=> string(35) "/usr/home/aa140nr77q/html/index.php" ["line"]=> int(1063) ["function"]=> string(5) "query" ["class"]=> string(2) "DB" ["object"]=> object(DB)#6 (3) { ["_connection"]=> resource(6) of type (mysql link) ["_fetch"]=> NULL ["_dsn"]=> array(3) { ["type"]=> string(5) "mysql" ["debug"]=> bool(true) ["charset"]=> string(5) "UTF-8" } } ["type"]=> string(2) "->" } }
Fatal error: Lost connection to MySQL server during query
SELECT rule_id
 FROM inf_rule
 
 LEFT JOIN inf_blog ON blog_id = rule_blog_id
 WHERE 1
  AND rule_status = 'open'
  AND blog_left <= 2
  AND blog_right >= 3
  AND ( 0
  OR rule_blog_id = 2
  OR rule_scope = 'global'
  )
  AND 
 CASE
  WHEN rule_aid_case IS NULL  THEN 1
  WHEN rule_aid_case = 'IS NULL' THEN 1
  WHEN rule_aid_case = 'IS NOT NULL' THEN 0
  ELSE 0
 END
  AND 
 CASE
  WHEN rule_uid_case IS NULL  THEN 1
  WHEN rule_uid_case = 'IS NULL' THEN 1
  WHEN rule_uid_case = 'IS NOT NULL' THEN 0
  ELSE 0
 END
  AND 
 CASE
  WHEN rule_cid_case IS NULL  THEN 1
  WHEN rule_cid_case = 'IS NULL' THEN 1
  WHEN rule_cid_case = 'IS NOT NULL' THEN 0
  ELSE 0
 END
  AND 
 CASE
  WHEN rule_eid_case IS NULL  THEN 1
  WHEN rule_eid_case = 'IS NULL' THEN 1
  WHEN rule_eid_case = 'IS NOT NULL' THEN 0
  ELSE 0
 END
  AND 
 CASE
  WHEN rule_ucd_case IS NULL  THEN 1
  WHEN rule_ucd_case = 'IS NULL' THEN 0
  WHEN rule_ucd_case = 'IS NOT NULL' THEN 1
  ELSE 0
 END
  AND 
 CASE
   in /usr/home/aa140nr77q/html/php/DB.php on line 126