SQL Error: SELECT news.*, news2.`parent_id` as pid, news3.`parent_id` as ppid, news3.`new` as be_new FROM `kkp_news` AS news LEFT JOIN `kkp_news` AS news2 ON news2.`news_id` = news.`parent_id` LEFT JOIN `kkp_news` AS news3 ON news3.`news_id` = news2.`parent_id` WHERE (news.`show_banner` = 1 AND news.`lang` = 1 AND news2.`lang` = '1' AND news.`type` = '1' AND news.`hidden` = 0 AND (news.`show_date` = '0000-00-00 00:00:00' OR news.`show_date` <= '2024-05-16 12:45:28' OR news.`show_date` IS NULL) AND (news.`hide_date` = '0000-00-00 00:00:00' OR news.`hide_date` >= '2024-05-16 12:45:28' OR news.`hide_date` IS NULL)) OR (news.`show_banner` = '1' AND news.`type` = '2' AND news.`hidden` = 0 AND (news.`show_date` = '0000-00-00 00:00:00' OR news.`show_date` <= '2024-05-16 12:45:28' OR news.`show_date` IS NULL) AND (news.`hide_date` = '0000-00-00 00:00:00' OR news.`hide_date` >= '2024-05-16 12:45:28' OR news.`hide_date` IS NULL)) ORDER BY `seq_banner` DESC

MySQL server has gone away

SQL Error: SELECT FOUND_ROWS() AS `total`;

MySQL server has gone away


Fatal error: Uncaught Error: Call to a member function get() on bool in /var/www/html/kkp/core/class/db.class.php:813 Stack trace: #0 /var/www/html/kkp/apps/controller/index.php(31): select->execute() #1 /var/www/html/kkp/core/framework.php(259): index->main() #2 /var/www/html/kkp/core/framework.php(457): framework::load('index', 'main', Array) #3 /var/www/html/kkp/index.php(7): framework->init() #4 {main} thrown in /var/www/html/kkp/core/class/db.class.php on line 813