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/Poll_model.php
Line: 63
Function: query
File: /home/thebang/public_html/application/core/Core_Controller.php
Line: 179
Function: get_polls
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
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 = 2 ORDER BY polls.id DESC
Filename: models/Poll_model.php
Line Number: 63
Error Number: 2006
MySQL server has gone away
UPDATE `ci_sessions` SET `timestamp` = 1758423347 WHERE `id` = 'b327d758d729773cfab7b14f727273a00a9e1ee3'
Filename: libraries/Session/drivers/Session_database_driver.php
Line Number: 261
Error Number: 2006
MySQL server has gone away
SELECT RELEASE_LOCK('1b37642323ac1ac8b67b5ddd03c1f79a') AS ci_session_lock
Filename: libraries/Session/drivers/Session_database_driver.php
Line Number: 424