SQL Error: Server shutdown in progress at /home/sklad-shin/domains/sklad-shin.webactives.ru/public/includes/managers/ContentManager.php line 140
Array
(
    [code] => 1053
    [message] => Server shutdown in progress
    [query] => 
		        SELECT `themes`.*, `themes`.`id` AS ARRAY_KEY,
		        	`themes`.`parent_id` AS PARENT_KEY, 
		        	`posts_stats`.`posts_count`
		        FROM `themes`
		        LEFT JOIN (
			        SELECT COUNT(*) AS `posts_count`, `p`.`theme_id` 
			        FROM `posts` AS `p`
			        INNER JOIN `comments` AS `first` ON (`first`.`id` = `p`.`first_id` AND `first`.`dt` <= NOW())
			        WHERE 
			        	`p`.`status` = "public" 
			        	 AND `p`.`type` = 'articles' 
					GROUP BY `p`.`theme_id`
		        ) AS `posts_stats` ON (`posts_stats`.`theme_id`=`themes`.`id`)
		        WHERE 1=1
			        
			        
			        
			         AND(
			            	(`show` = "" AND `hide` = "")
			            	OR (`hide` NOT LIKE CONCAT("%.",'articles',".%") AND `show` = "")
	                		OR (`show` LIKE CONCAT("%.",'articles',".%") AND `hide` = "")
	                	)
				     
    [context] => /home/sklad-shin/domains/sklad-shin.webactives.ru/public/includes/managers/ContentManager.php line 140
)