A PHP Error was encountered

Severity: Notice

Message: Undefined property: stdClass::$MaleSeat

Filename: models/Candidate_m.php

Line Number: 166

Backtrace:

File: /home/iecorg/public_html/results/application/models/Candidate_m.php
Line: 166
Function: _error_handler

File: /home/iecorg/public_html/results/application/controllers/Home.php
Line: 634
Function: preliminary_male_leadingcandidates

File: /home/iecorg/public_html/results/index.php
Line: 315
Function: require_once

A PHP Error was encountered

Severity: Warning

Message: Cannot modify header information - headers already sent by (output started at /home/iecorg/public_html/results/system/core/Exceptions.php:271)

Filename: core/Common.php

Line Number: 570

Backtrace:

File: /home/iecorg/public_html/results/application/models/Candidate_m.php
Line: 167
Function: get

File: /home/iecorg/public_html/results/application/controllers/Home.php
Line: 634
Function: preliminary_male_leadingcandidates

File: /home/iecorg/public_html/results/index.php
Line: 315
Function: require_once

Database Error

A Database Error Occurred

Error Number: 1054

Unknown column 'c.CandidateId' in 'field list'

SELECT `c`.`CandidateId`, `c`.`CandidateNameEnglish` as `CandidateName`, `c`.`CandidateNo`, `c`.`BallotOrder`, SUM(b.Votes) AS Votes FROM `candidate` `c` JOIN `primary_results` `b` ON `b`.`CandidateId`=`c`.`CandidateId` WHERE `b`.`ProvinceId` = '5' AND `c`.`GenderId` = 1 GROUP BY `c`.`CandidateId`, `CandidateName`, `c`.`CandidateNo`, `c`.`BallotOrder` ORDER BY `Votes` DESC

Filename: models/Candidate_m.php

Line Number: 167