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/threesocieties/public_html/application/models/Poll_model.php
Line: 63
Function: query

File: /home/threesocieties/public_html/application/core/Core_Controller.php
Line: 186
Function: get_polls

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

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 polls.*,(SELECT COUNT(poll_votes.id) FROM poll_votes WHERE poll_votes.poll_id = polls.id AND poll_votes.vote = 'option1') AS option1_vote_count, (SELECT COUNT(poll_votes.id) FROM poll_votes WHERE poll_votes.poll_id = polls.id AND poll_votes.vote = 'option2') AS option2_vote_count, (SELECT COUNT(poll_votes.id) FROM poll_votes WHERE poll_votes.poll_id = polls.id AND poll_votes.vote = 'option3') AS option3_vote_count, (SELECT COUNT(poll_votes.id) FROM poll_votes WHERE poll_votes.poll_id = polls.id AND poll_votes.vote = 'option4') AS option4_vote_count, (SELECT COUNT(poll_votes.id) FROM poll_votes WHERE poll_votes.poll_id = polls.id AND poll_votes.vote = 'option5') AS option5_vote_count, (SELECT COUNT(poll_votes.id) FROM poll_votes WHERE poll_votes.poll_id = polls.id AND poll_votes.vote = 'option6') AS option6_vote_count, (SELECT COUNT(poll_votes.id) FROM poll_votes WHERE poll_votes.poll_id = polls.id AND poll_votes.vote = 'option7') AS option7_vote_count, (SELECT COUNT(poll_votes.id) FROM poll_votes WHERE poll_votes.poll_id = polls.id AND poll_votes.vote = 'option8') AS option8_vote_count, (SELECT COUNT(poll_votes.id) FROM poll_votes WHERE poll_votes.poll_id = polls.id AND poll_votes.vote = 'option9') AS option9_vote_count, (SELECT COUNT(poll_votes.id) FROM poll_votes WHERE poll_votes.poll_id = polls.id AND poll_votes.vote = 'option10') AS option10_vote_count FROM polls WHERE polls.lang_id = 1 ORDER BY polls.id DESC

Filename: models/Poll_model.php

Line Number: 63

Database Error

A Database Error Occurred

Error Number: 2006

MySQL server has gone away

INSERT INTO `ci_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('9510777817a33f6de63cf6124b56022308e7f908', '3.129.243.23', 1716328716, '__ci_last_regenerate|i:1716328713;')

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

Filename: libraries/Session/drivers/Session_database_driver.php

Line Number: 424