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/Profile_controller.php
Line: 8
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 ('ct349905466lqfktl7i3nnsmkc5f3ubg', '3.237.71.23', 1601105842, '__ci_last_regenerate|i:1601105837;')

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('56245e9ea4d2a5fd06afc893a78f0f82') AS ci_session_lock

Filename: libraries/Session/drivers/Session_database_driver.php

Line Number: 424