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 (38341,38279,38265,38231,38198,38160,38125,38120,38095,38090,38354,38346,38319,38313,38311,38293,38292,38266,38259,38258,37503,37350,37260,36798,36366,36254,35715,35453,35215,33968,38249,38203,38096,37368,34869,34663,32135,29413,28408,25710,38209,38055,38038,37956,37905,37866,37830,37751,37612,37597,37412,37356,37238,36913,36609,36606,36469,36315,36089,35997,38345,38322,38297,38268,38245,38217,38207,38191,38176,38143,38280,37889,37641,37450,37358,37131,37073,37000,36964,36895,38348,38305,38285,38274,38257,38224,38223,38206,38205,38192,38301,38233,38156,38147,37920,37915,37880,37876,37745,37727,38352,38342,38303,38142,38106,38001,37997,37986,37976,37914,38355,38351,38349,38344,38343,38334,38333,38332,38331,38330,38197,37371,37163,37123,37082,36370,35871,35510,35030,34725,38350,38324,38312,38298,38281,38269,38214,38126,38124,38107,38336,38335,38317,38296,38250,38241,38234,38221,38199,38174,38340,38339,38338,38337,38315,38304,38299,38289,38288,38270,38320,38295,38262,38228,38167,38165,38121,38053,37950,37699,38255,38242,38062,37983,37804,37802,37191,37111,37020,36889,38347,38329,38328,38327,38326,38321,38314,38310,38291,38287,15925,5849,4579,3709,38286,38275,38246,38244,38222,38118,38112,38020,38014,38010,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 ('18cff720e3490065ae87c38fbfc254c473a3ce28', '172.69.6.129', 1748166742, '__ci_last_regenerate|i:1748166738;')

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

Filename: libraries/Session/drivers/Session_database_driver.php

Line Number: 424