A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "Id" on null

Filename: controllers/Teachers.php

Line Number: 800

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "Id" on null

Filename: controllers/Teachers.php

Line Number: 800

A PHP Error was encountered

Severity: Warning

Message: Attempt to read property "Id" on null

Filename: controllers/Teachers.php

Line Number: 800

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:272)

Filename: core/Common.php

Line Number: 571

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 20

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` IS NULL AND `users`.`City_of_residense_id` IS NULL AND `users_teacher`.`Teach_method_offline_by_root` = 1 AND ( `users_teacher`.`Teach_method_studentHouse` = 1 OR `users_teacher`.`Teach_method_teacherHouse` = 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_teacher`.`Is_hidden` = 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: 601