Severity: Warning
Message: Invalid argument supplied for foreach()
Filename: controllers/expertise.php
Line Number: 100
Severity: Notice
Message: Undefined variable: exp_id
Filename: controllers/expertise.php
Line Number: 112
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /www1/htdocs/CodeIgniter_2.1.0/system/core/Exceptions.php:185)
Filename: core/Common.php
Line Number: 442
Error Number: 1064
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND `b`.`qc` = 1 AND `j`.`joinid` = 2 AND `b`.`status` = 'Y' ORDER BY `b`.`ranki' at line 5
SELECT `b`.`id`, `b`.`firstname`, `b`.`lastname`, `b`.`qc`, `b`.`head_of_chambers`, `b`.`call_year`, `b`.`silk_year` FROM (`join_records` j) JOIN `barristers` b ON `b`.`id` = `j`.`parentid` WHERE `j`.`childid` = AND `b`.`qc` = 1 AND `j`.`joinid` = 2 AND `b`.`status` = 'Y' ORDER BY `b`.`ranking` ASC
Filename: /www1/htdocs/2tg/models/barristers_model.php
Line Number: 150