A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Teachers.php

Line Number: 798

A PHP Error was encountered

Severity: Warning

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

Filename: core/Common.php

Line Number: 564

Database Error

A Database Error Occurred

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 12

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_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: 748