A PHP Error was encountered

Severity: Warning

Message: mysqli::query(): (08S01/1053): Server shutdown in progress

Filename: mysqli/mysqli_driver.php

Line Number: 305

Backtrace:

File: /home/ngopibareng/public_html/application/models/News_post.php
Line: 539
Function: get

File: /home/ngopibareng/public_html/application/controllers/Timeline_post.php
Line: 163
Function: single_article

File: /home/ngopibareng/public_html/index.php
Line: 326
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/ngopibareng/public_html/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 573

Backtrace:

File: /home/ngopibareng/public_html/application/models/News_post.php
Line: 539
Function: get

File: /home/ngopibareng/public_html/application/controllers/Timeline_post.php
Line: 163
Function: single_article

File: /home/ngopibareng/public_html/index.php
Line: 326
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1053

Server shutdown in progress

SELECT (SELECT count(*) as view FROM news_post_statistics WHERE id_post=news_post.id ) as views, `news_post`.*, `admin`.`nama` as `author_name`, `admin`.`id` as `author_id`, `news_post_category`.`name` as `category_name`, `publisher`.`nama` as `publisher_name`, `publisher`.`id` as `publisher_id`, `sub_sites`.`title` as `sub_sites_name`, ( CASE WHEN news_post.sub_sites is null THEN concat('https://www.ngopibareng.id/timeline/', news_post.url) ELSE concat('https://', `news_post`.`sub_sites`, '.ngopibareng.id/timeline/', news_post.url) END ) as post_url, concat('https://www.ngopibareng.id/timeline/category/', news_post_category.url) as category_url, concat('https://www.ngopibareng.id/ng0p1/imagecache/thumbnail-', news_post.thumbnail) as thumbnail_url, concat('https://www.ngopibareng.id/ng0p1/imagecache/thumbnail_social-', news_post.thumbnail) as thumbnail_url_social, concat('https://www.ngopibareng.id/ng0p1/imagecache/l-', news_post.thumbnail) as thumbnail_url_single FROM `news_post` JOIN `admin` ON `admin`.`id`=`news_post`.`id_author` LEFT JOIN `admin` `publisher` ON `publisher`.`id`=`news_post`.`published_by` JOIN `news_post_category` ON `news_post`.`category`=`news_post_category`.`id` LEFT JOIN `sub_sites` ON `sub_sites`.`code`=`news_post`.`sub_sites` WHERE `news_post`.`status` = 1 AND `news_post`.`category` !=0 AND `publish_date` <= '2019-04-19 18:41:48' AND `news_post`.`url` = 'brem-tergerus-zaman-lalu-madiun-nasib-desa-kaliabu-524580' ORDER BY `id` DESC

Filename: models/News_post.php

Line Number: 539