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/thebang/public_html/application/models/Post_model.php
Line: 83
Function: query

File: /home/thebang/public_html/application/core/Core_Controller.php
Line: 157
Function: get_latest_category_posts

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

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

Database Error

A Database Error Occurred

Error Number: 2006

MySQL server has gone away

SELECT posts.id, posts.title, posts.title_slug, posts.summary, posts.category_id, posts.image_big, posts.image_slider, posts.image_mid, posts.image_small, posts.image_mime, posts.image_storage, posts.slider_order, posts.featured_order, posts.post_type, posts.image_url, posts.user_id, posts.pageviews, posts.lang_id, posts.post_url, posts.created_at, categories.name AS category_name, categories.name_slug AS category_slug , categories.color AS category_color, users.username AS author_username, users.slug AS author_slug, (SELECT COUNT(comments.id) FROM comments WHERE posts.id = comments.post_id AND comments.parent_id = 0 AND comments.status = 1) AS comment_count FROM posts INNER JOIN categories ON categories.id = posts.category_id INNER JOIN users ON users.id = posts.user_id WHERE posts.id IN (38508,38388,38373,38372,38341,38279,38265,38231,38198,38160,38525,38510,38507,38506,38504,38503,38499,38495,38477,38474,37503,37350,37260,36798,36366,36254,35715,35453,35215,33968,38249,38203,38096,37368,34869,34663,32135,29413,28408,25710,38479,38209,38055,38038,37956,37905,37866,37830,37751,37612,38376,37412,37356,37238,36913,36609,36606,36469,36315,36089,38524,38512,38509,38498,38486,38476,38454,38433,38405,38378,38280,37889,37641,37450,37358,37131,37073,37000,36964,36895,38523,38522,38520,38489,38480,38420,38406,38395,38348,38305,38533,38529,38519,38435,38409,38408,38390,38359,38301,38233,38491,38352,38342,38303,38142,38106,38001,37997,37986,37976,38532,38531,38521,38514,38511,38505,38502,38497,38475,38472,38434,38197,37371,37163,37123,37082,36370,35871,35510,35030,38528,38517,38493,38492,38478,38464,38462,38457,38440,38437,38516,38501,38490,38484,38483,38482,38467,38461,38459,38458,38496,38487,38448,38411,38361,38356,38340,38339,38338,38337,38534,38441,38320,38295,38262,38228,38167,38165,38121,38053,38526,38419,38255,38242,38062,37983,37804,37802,37191,37111,38530,38527,38518,38515,38513,38500,38488,38485,38481,38469,15925,5849,4579,3709,38494,38443,38286,38275,38246,38244,38222,38118,38112,38020,38309,38093,37763,37739,37735,37662,37411,37306,37302,37193) AND posts.lang_id = 2 ORDER BY posts.created_at DESC

Filename: models/Post_model.php

Line Number: 83

Database Error

A Database Error Occurred

Error Number: 2006

MySQL server has gone away

INSERT INTO `ci_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('f44b49617acef95c102d374b44cc1c7ff5df376c', '172.69.59.190', 1748873094, '__ci_last_regenerate|i:1748873088;')

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

Filename: libraries/Session/drivers/Session_database_driver.php

Line Number: 424