A PHP Error was encountered

Severity: Warning

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

Filename: mysqli/mysqli_driver.php

Line Number: 307

Backtrace:

File: /home/nigerianews24/public_html/application/models/Post_model.php
Line: 124
Function: query

File: /home/nigerianews24/public_html/application/core/Core_Controller.php
Line: 147
Function: get_popular_posts

File: /home/nigerianews24/public_html/application/controllers/Home_controller.php
Line: 8
Function: __construct

File: /home/nigerianews24/public_html/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1053

Server shutdown in progress

SELECT posts.id,posts.logo_path, posts.title, posts.title_slug, posts.post_type, posts.image_small, posts.image_mime, posts.image_url, users.slug AS user_slug, users.username AS username, posts.created_at, hit_counts.count AS hit FROM posts INNER JOIN (SELECT COUNT(post_hits.post_id) AS count, post_hits.post_id FROM post_hits WHERE post_hits.created_at > DATE_SUB(NOW(), INTERVAL 7 DAY) GROUP BY post_hits.post_id) AS hit_counts ON hit_counts.post_id = posts.id INNER JOIN users ON users.id = posts.user_id INNER JOIN categories ON categories.id = posts.category_id WHERE posts.is_scheduled = 0 AND posts.status = 1 AND posts.lang_id = '1' ORDER BY hit_counts.count DESC LIMIT 8

Filename: models/Post_model.php

Line Number: 124