Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Institutes.php
Line Number: 150
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Institutes.php
Line Number: 152
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Institutes.php
Line Number: 160
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Institutes.php
Line Number: 161
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Institutes.php
Line Number: 162
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Institutes.php
Line Number: 164
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Institutes.php
Line Number: 165
Severity: Notice
Message: Trying to get property of non-object
Filename: controllers/Institutes.php
Line Number: 173
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
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 users.Is_active > 0 and users.Type = 2 and users.Is_blocked = 0 order ' at line 10
select *, (SELECT country_code FROM countries WHERE countries.Id=users.Country_of_residense_id) AS Country_code, (SELECT country_name_en FROM countries WHERE countries.Id=users.Country_of_residense_id) AS Country_of_residense_Name_en, (SELECT country_name_ar FROM countries WHERE countries.Id=users.Country_of_residense_id) AS Country_of_residense_Name_ar, (SELECT About FROM users_institute WHERE users_institute.Id=users.Id) AS About, (SELECT Name_ar FROM cities WHERE cities.Id=users.City_of_residense_id) AS City_of_residense_Name_ar, (SELECT Name_en FROM cities WHERE cities.Id=users.City_of_residense_id) AS City_of_residense_Name_en from users join users_institute on users_institute.Id=users.Id where users.Id > 0 and users.Is_active and users.Is_blocked=0 and users.Is_paused=0 and City_of_residense_id = 3 and users.Id in (select Institute_id from institute_categories where institute_categories.Institute_id = users.Id and institute_categories.Category_id = ) and users.Is_active > 0 and users.Type = 2 and users.Is_blocked = 0 order by users.Is_vip_account desc,users.Refresh_datetime desc limit 0, 12
Filename: models/Institutes_model.php
Line Number: 178