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 ('cr65hipjdisnp4ss69m9srrntmlu4n8r', '3.237.71.23', 1601106029, '__ci_last_regenerate|i:1601106022;')

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

Filename: libraries/Session/drivers/Session_database_driver.php

Line Number: 424