A PHP Error was encountered

Severity: Notice

Message: Trying to get property of non-object

Filename: controllers/Teachers.php

Line Number: 601

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

حصل خطأ في قاعدة البيانات

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`.`Country_of_residense_id` = '190' AND `users`.`City_of_residense_id` = '7' 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: 426