A PHP Error was encountered

Severity: Warning

Message: mysqli::query(): MySQL server has gone away

Filename: mysqli/mysqli_driver.php

Line Number: 307

Backtrace:

File: /home/megaukraine/public_html/application/models/Post_model.php
Line: 74
Function: query

File: /home/megaukraine/public_html/application/core/Core_Controller.php
Line: 113
Function: get_latest_category_posts

File: /home/megaukraine/public_html/application/controllers/Home_controller.php
Line: 7
Function: __construct

File: /home/megaukraine/public_html/index.php
Line: 325
Function: require_once

Database Error

A Database Error Occurred

Error Number: 2006

MySQL server has gone away

SELECT id FROM (SELECT id, category_id, @row_number := IF(@prev = category_id, @row_number + 1, 1) AS row_number, @prev := category_id FROM posts JOIN (SELECT @prev := NULL, @row_number := 0) AS vars WHERE posts.is_scheduled = 0 AND posts.visibility = 1 AND posts.status = 1 ORDER BY category_id, created_at DESC ) AS table_posts WHERE row_number <= 10

Filename: models/Post_model.php

Line Number: 74

Database Error

A Database Error Occurred

Error Number: 2006

MySQL server has gone away

INSERT INTO `ci_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('k7v21b8au4fnr0rr8o34n7esfcboq77g', '3.230.119.106', 1601094387, '__ci_last_regenerate|i:1601094382;')

Filename: libraries/Session/drivers/Session_database_driver.php

Line Number: 237

Database Error

A Database Error Occurred

Error Number: 2006

MySQL server has gone away

SELECT RELEASE_LOCK('67a798e78b441804293ab42b19eecf61') AS ci_session_lock

Filename: libraries/Session/drivers/Session_database_driver.php

Line Number: 424