A PHP Error was encountered

Severity: Warning

Message: mysqli::query(): MySQL server has gone away

Filename: mysqli/mysqli_driver.php

Line Number: 261

Backtrace:

File: /home/iwacupre/com.thechoicelive.rw/application/models/Poll_model.php
Line: 84
Function: query

File: /home/iwacupre/com.thechoicelive.rw/application/core/Core_Controller.php
Line: 179
Function: get_polls

File: /home/iwacupre/com.thechoicelive.rw/application/controllers/Home_controller.php
Line: 7
Function: __construct

File: /home/iwacupre/com.thechoicelive.rw/index.php
Line: 325
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: 84

Database Error

A Database Error Occurred

Error Number: 2006

MySQL server has gone away

INSERT INTO `ci_sessions` (`id`, `ip_address`, `timestamp`, `data`) VALUES ('ed9a5536ebdd31c00c68a2cfc9ca4aafc7cbeb42', '216.73.216.37', 1777300125, '__ci_last_regenerate|i:1777300125;')

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

Filename: libraries/Session/drivers/Session_database_driver.php

Line Number: 424