Severity: Warning
Message: Attempt to read property "Id" on null
Filename: controllers/Teachers.php
Line Number: 1329
Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /home/teacherprivate/public_html/system/core/Exceptions.php:272)
Filename: core/Common.php
Line Number: 571
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 ')' at line 13
SELECT COUNT(*) AS `numrows` FROM `users` JOIN `countries` `residence` ON `residence`.`Id`=`users`.`Country_of_residense_id` JOIN `cities` ON `cities`.`Id`=`users`.`City_of_residense_id` JOIN `users_teacher` ON `users_teacher`.`Id`=`users`.`Id` WHERE `users_teacher`.`Teach_method_internet` = 1 AND `Is_active` = 1 AND `users`.`Type` = 1 AND `Is_conditions_agreed` = 1 AND `users`.`Is_blocked` = 0 AND `users`.`Is_deleted` = 0 AND `users`.`Is_paused` = 0 AND users.Id in (select Teacher_id from teacher_categories where teacher_categories.Teacher_id = `users`.`Id` and `teacher_categories`.`Category_id` =)
Filename: models/Teachers_model.php
Line Number: 1179