A PHP Error was encountered

Severity: Notice

Message: Undefined variable: category_ids

Filename: models/Post_model.php

Line Number: 387

Backtrace:

File: /home/threesocieties/public_html/application/models/Post_model.php
Line: 387
Function: _error_handler

File: /home/threesocieties/public_html/application/controllers/Home_controller.php
Line: 83
Function: get_post_count_by_tag

File: /home/threesocieties/public_html/index.php
Line: 330
Function: require_once

Database Error

A Database Error Occurred

Error Number: 2006

MySQL server has gone away

SELECT * FROM (SELECT posts.id, posts.title, posts.title_slug, posts.summary, post_category.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.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 LEFT JOIN post_category ON posts.id = post_category.post_id INNER JOIN categories ON categories.id = post_category.category_id INNER JOIN users ON users.id = posts.user_id INNER JOIN tags ON tags.post_id = posts.id WHERE posts.is_scheduled = 0 AND posts.visibility = 1 AND posts.status = 1 AND posts.lang_id = 1 AND tags.tag_slug='फरजबद' ORDER BY posts.created_at DESC LIMIT 0,12) AS table_posts

Filename: models/Post_model.php

Line Number: 380

Database Error

A Database Error Occurred

Error Number: 2006

MySQL server has gone away

INSERT INTO `ci_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('28862378da9e412475c0ccff0c9fedbe62229030', '3.12.164.101', 1716322661, '__ci_last_regenerate|i:1716322656;')

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

Filename: libraries/Session/drivers/Session_database_driver.php

Line Number: 424